magento-hackathon / Simple-Image-Helper

Magento's image helper is bloated and the performance impact is quite significant. Some of the complexity can also be removed because the gain is not that significant (example: the hash part of the image url). I would like to be able to use a replacement with the following features: - lightweight - support for gd and imagemagick - has nicer image paths Optional: - use a queueing system for the resize job If others are interested we can spec this out further. Update by Admin: https://github.com/magento-hackathon/Perfect_Watermarks https://github.com/monsieurbiz/Mbiz_ImageCrop
https://github.com/orgs/magento-hackathon
32 stars 5 forks source link

Image Resizer #10

Open jamescowie opened 10 years ago

jamescowie commented 10 years ago

What PHP lib shall we use to resize the images ?

florinel-chis commented 10 years ago

Options:

should be a configurable option. Ideally imagemagick with fallback to gd2.

jamescowie commented 10 years ago

I agree. From doing some basic research Imagemagick looks to perform better than GD so I think the flow show be:

Create a new option in the Simple-Image-Helper configuration screen for "Image Processing" with default to Imagemagick. Or even check on module install if this PHP module is available. ?

Then in the processing code use this module to process the image with the fallback being GD that we know all Magento stores require to operate correctly.

Does anyone want to look at this before I take a look ?