Does anyone know how to run an unsharp mask with the built in imaging code? Is it GD Library that Magento uses?
Do not know much about GD, but Magento is using DG2 located in:
old thread, i know ... but maybe someone will also tumble over this, like me.
you can easily integrate the following script into the GD2 file (or somewhere else) as a function to do unsharp masking for the thumbnails:
just put it to the other functions below ... and replace:
//return $img;$this->_imageHandler = $img;
finally use something like that in the “save” function:
$this->UnsharpMask($this->_imageHandler, 70, 0.5, 3);
where is the save function?
you don’t need a save function, the unsharp mask works on-the-fly
i attached the modified file Gd2.php
We'd like to hear from you! Call us, send us an email or talk to sales.
See Magento in the news, find press releases and resources for media.
Thank you for subscribingPlease check your email for a confirmation.