Open rootedsoftware opened 8 years ago
Can you please do PR to include that flag for imagemagick? But it is strange I did not experience that behaviour.
Sure. I think this might be tied to the image itself. I am using black and white images. Like the one I've attached here, the thumbnails are the ones being converted down to 8bit.
Looks like I won't be able to do a pull request here. The underlying NPM module actually doesn't have this option available.
https://github.com/yourdeveloper/node-imagemagick/blob/master/imagemagick.js#L318
Also, this node repository says it is unmaintained and we should consider using Gm instead...
All of my images are being set to 8-bit after they are resized. Is there any way to keep the same type? From the command line I'd just to
-type TrueColor
and that would keep my 24bit color even after resizing.