I'm writing because I have a little Issue that I'm becoming crazy on trying to fix it, with no success atm.
I have a Rails app that generate some .tiff files in Grayscale and - in local [rmagick: 2.13.3 | ImageMagick: 6.8.9-8] - all is working fine. On my server, using dokku [rmagick: 2.13.3 - ImageMagick: 6.7.7-10], the .tiff files are correctly created as I want, but the quantize doesn't work. In this way, starting also from a Grayscale image, I get in output an RGB image.
Hello,
I'm writing because I have a little Issue that I'm becoming crazy on trying to fix it, with no success atm.
I have a Rails app that generate some .tiff files in Grayscale and - in local [rmagick: 2.13.3 | ImageMagick: 6.8.9-8] - all is working fine. On my server, using dokku [rmagick: 2.13.3 - ImageMagick: 6.7.7-10], the .tiff files are correctly created as I want, but the quantize doesn't work. In this way, starting also from a Grayscale image, I get in output an RGB image.
Here is the part of the code in my Service:
Any idea? I have to force destroy and GC.start because the images can be heavy and big.
Thanks