Closed mnasan closed 2 years ago
Hello @mnasan,
I think it's probably openslide --- on linux, you are loading the SVS with openslide, but on window it'll be using regular libtiff (openslide is only included in the -all
binary). Openslide does not support ICC profiles, so the linux build is not detecting the slide profile.
Either build without openslide on linux (you'll lose support for other slide formats), or perhaps use something like python to pull the profile from the SVS and apply it yourself.
Hello,
Thank you for this amazing library. I installed libvips v.8.12.2 on both windows (for testing) and on Ubuntu 18.04 (for regular use). I run the same command on both CMD and BASH. However, I got different results: On windows CMD:
vips icc_transform c:\mri\NAS\temp\101-048.svs c:\mri\NAS\temp\101-048.tif srgb --embedded
On Ubuntu terminal:vips icc_transform 101-048.svs 101-048.tif srgb --embedded
The transformation of the color space is correct on windows, with a (.tif) result image of 24 bit depth according to third-party viewer software. However, on Ubuntu, I got a (.tif) image which has the same color of the original (no color transformation had been performed) and an image depth of 32 bit. Knowing that I installed vips from binaries for Windows but I built it from source on Ubuntu. Also, no error on warning was declared. ./configure:Am I missing something during the installation? Are the parameters are correct? Any help or idea is appreciated.
Thank you