Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch adds a "Sharpen" action to Imagecache. It *requires* an updated ImageAPI via this patch:
Comment | File | Size | Author |
---|---|---|---|
#1 | imagecache-sharpening-v2.patch | 3.72 KB | Moonshine |
imagecache-sharpening-v1.patch | 3.55 KB | Moonshine |
Comments
Comment #1
Moonshine CreditAttribution: Moonshine commentedNew patch for use with new ImageAPI patch and GD unsharp masking.
Comment #2
Fayna CreditAttribution: Fayna commentedI patched ImageAPI and ImageCache but I don't see a "Sharpen" action. >.<
Comment #3
Moonshine CreditAttribution: Moonshine commentedThat's odd. Assuming you've patched HEAD and are using D6, it should show up as the last action available in the "New Actions" fieldset. The label is:
"Add Sharpen - Sharpen an image using unsharp masking."
If you still don't see anything, maybe you can take a peek in "imagecache.module" to see if the patch was applied. A search for "imagecache_sharpen", it should find the action definition if the patch was applied properly.
I'll revert here and apply the patches myself also.
Comment #4
Moonshine CreditAttribution: Moonshine commentedJust applied the patches to current Imagecache and ImageAPI HEAD code, and it seems to work fine. However, you will need to clear Drupal's cache via the the Performance admin page or the Devel module for the action to appear.
Comment #5
Fayna CreditAttribution: Fayna commentedOkay I see it now! Cool. :-) It works great!
Comment #6
dopry CreditAttribution: dopry commentedoh hey, committed. to DRUPAL-5 and HEAD.
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.