Skip to content

jpeg save fails with scRGB data #2858

Closed
@jcupitt

Description

@jcupitt

Probably other similar savers too.

$ vips colourspace k2.jpg x.v scrgb
$ vips copy x.v x.jpg 

Produces a black image.

VIPS_SAVEABLE_RGB_CMYK lets scRGB through, cast to uint8. Other savers need scRGB, so we can't just convert it. We should overhaul the SAVEABLE system, it's not very good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions