Skip to content

Save texture to file #184

Description

Ideally, there'd also be an "Save texture to file" button as part of the sidebar / image preview, to make it easier to view these textures in external tools.
Right click to "Save image as" does work to some degree (does spector.js try to undo alpha-premultiply or something? I seem to get weird pixel colors), but is very cumbersome.

Activity

  1. sebavan commented on Sep 28, 2021

    @sebavan
    Member

    From #210

    We need a technical support for printing DepthStencilTexture which dataType is DEPTH24_STENCIL8.
    Now this tool can only print RGBA UNSIGNED_BYTE texture(color Texture) as uniform sampler2D source.
    Can this tool support printing depthStencilTexture which dataType is DEPTH24_STENCIL8 ?

  2. barabanus commented on Jan 9, 2024

    @barabanus

    Also, please store FLOAT texture as TIFF or PFM with exact float values. In its current state you convert float pixels like this:
    Math.min(Math.max(<<<FLOAT-PIXEL>>>, 0), 1) * 255
    ..which would not work for textures which store bone matrices for skeleton animation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions