dzsave and icc_transform - ICC profile correction vs skip-blanks vs file size #4297
delta2golf
started this conversation in
General
Replies: 1 comment 1 reply
-
Hello @delta2golf, You need openslide4 for ICC profile support, it sounds like you might still be on 3.4.1 With openslide4 I see:
I see:
Obviously 150kb of data on every tile is NOT a good idea. I would transform to sRGB with:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Inconsistent behavior with SVS files: ICC profile correction vs skip-blanks vs file size
I'm encountering inconsistent behavior when processing SVS files with different combinations of ICC profile correction and skip-blanks options.
Desired outcomes:
Current Behavior
Command 1 - Skip blanks, no ICC correction:
vips dzsave wsi.svs[level=1] output.zip --skip-blanks 150 --background "255"
ISSUE: ICC not corrected
Output size: 7MB (not GB)
Command 2 - With ICC profile correction:
vips dzsave wsi.svs[level=1] output.zip --skip-blanks 150 --background "255" --profile srgb
ISSUE: Output size: 9 GB !!!
Command 3 - Using icc_transform:
vips icc_transform wsi.svs[level=1] output.dz srgb
ISSUE: Blanks: Not skipped
Output size: 14MB (not GB)
Beta Was this translation helpful? Give feedback.
All reactions