[Solved] Color profil missing in the resized uploaded photos.
-
Hello,
NodeBB has started to resize the uploaded photos starting from version 1.1.2 (including 1.2.0). This is a great feature, but we’ve noticed that the color profile (E.G. sRGB) is missing in the resized version (The color profile is empty, same for the exifs information).
We are a photography forum and the majority of our topics are photo based, so it’s really a huge issue for us… The resized versions are showing randomly depending of the OS/browser/versions… Sometime are yellow, sometime pink…
How those resized versions are generated? Using an OS program like ImageMagick? How could we change the options used during the generation? Could we fix that issue?
Thanks a lot for your support.
-
Yes, NodeBB uses ImageMagick.
https://github.com/NodeBB/NodeBB/blob/7d0eb9afaa0ac51b814cfaf733d98c8259c64742/src/image.js
-
@metalkramp said in [Solved] Color profil missing in the resized uploaded photos.:
@azeus Do you mind posting the solution?
I just installed the plugin nodebb-plugin-imagemagick as suggested by @baris (And of course ImageMagick in the server).