How discourse optimize images


( Ahmad Abd Elghany) #1

I took a brief glimpse at optimized_image.rb class, but I didn’t get most of it.
what is the way that discourse use to optimize images ? I believe it’s not image_optim Gem. :smiley:

(Dan Neumann) #2

Quick glance, you can see convert (ImageMagick) used for resizing and ImageOptim for post-resize optimization.