Skip to content

Q16 version? #192

@davidjohnstone

Description

@davidjohnstone

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Hi, I'd like to use this to resize images with accurate gamma, which I would do by first converting to RGB, then resizing, then converting back to sRGB. However, using the Q8 version can result in severe colour issues because Q8 doesn't have enough precision for the conversion. Is there any chance of a Q16 version?

I'm doing:

image.colorSpace = ColorSpace.RGB;
image.resize(1200, 800);
image.colorSpace = ColorSpace.sRGB;

Which gives the same results as -colorspace RGB -resize 1200x800 -colorspace sRGB in the Q8 command line version.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions