Uploading Grayscale images causes the image to be darkened

We’re using both ImageMagick and ImageOptim to make sure thumbnails are as small as possible

Not sure what’s causing the image to be darkened though :frowning:

  • GIF: convert in.gif -coalesce -gravity center -thumbnail 100x100^ -extent 100x100 -layers optimize out.gif
  • OTHER: convert in.png[0] -background transparent -gravity center -thumbnail 100x100^ -extent 100x100 -interpolate bicubic -unsharp 2x0.5+0.7+0 -quality 98 out.png
2 Mi Piace