Skip to content

fails on file processed with vips, but works if png used as intermediary #254

@andrisi

Description

@andrisi

I have lots of TIFF files, which are not served correctly by IIPSRV if they are turned into multilayer ones with vips using the command line below. The tiles returned are invalid according to Chrome, Windows Picasa, etv.. If I save the file to PNG, and then to multilayer TIFF, they work fine. If you're interested I can provide the files.

vips tiffsave X2.raw X2.tiff --vips-progress --tile --pyramid --compression deflate --tile-width 256 --tile-height 256

On conversion to PNG with

vips pngsave A1.tiff X2.png --vips-progress

I get this below, but upon converting the PNG to TIFF, serving from IIPSRV works fine:

(vips:643988): VIPS-WARNING **: 21:47:15.724: profile 'icc': 0h: PCS illuminant is not D50
(vips:643988): VIPS-WARNING **: 21:47:15.724: bad ICC profile not saved

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions