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

Use nearest neighbor interpolation when resizing watermarks. #4

Closed colinmollenhour closed 11 years ago

colinmollenhour commented 11 years ago

I can't work on this myself at the moment but I noticed that resized watermarks don't look so great due to the transparency being resampled and causing really horrible looking transitions. Perhaps forcing an interpolation method that doesn't "blur" the transparency would fix this, such as nearest neighbor. Just a thought.

datenbrille commented 11 years ago

Do you have an example image to test with?

datenbrille commented 11 years ago

I tested with some images and some resolutions. Results are ok.