magento-hackathon / Perfect_Watermarks

A replacement for Magento's GD2 image adapter with imagemagick
Open Software License 3.0
53 stars 28 forks source link

Progressive JPG #12

Open ghost opened 9 years ago

ghost commented 9 years ago

Hello,

I have installed your extension on Magento CE 1.9.0.1 and it seems to work fine.

But I need progressive JPG instead.

On line 84 of Perfect_Watermarks/src/app/code/community/Varien/Image/Adapter/Imagemagic.php I added:

$this->getImageMagick()->setInterlaceScheme(Imagick::INTERLACE_PLANE);

and it works.

My question is - how should I override that properly, maybe in my custom module, so that I keep your code clean. Or maybe you could somehow add it as a setting in the Admin backend?

Sorry I am not a programmer per se and I don't know how to work with GIT system. I am just trying to customize my store.

I hope it is ok to ask here.

Schrank commented 9 years ago

Thanks for the snippet. I think having a backend option to choose is a good idea, but I don't think this will be implemented in the near future, so for the moment (because you are not a dev), I would just let it as it is.

ghost commented 9 years ago

Thanks for the quick reply Schrank.