Reviewed & tested by the community
Project:
Imagecache Effects
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2009 at 19:46 UTC
Updated:
16 Jul 2010 at 15:46 UTC
When using a bottom or right reflection a line is added between the original image and the reflection (more visible on non-transparent images).
This line is actually the result of the first row of pixels right outside the original image (which doesn't have any content) being copied on top of the new image. This patch fixes the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| remove_line.patch | 1.45 KB | floretan |
Comments
Comment #1
alextronic commentedThe bug exists. It's annoying.
but the patch doesn't work...
A
Comment #2
Tony Sharpe commentedI had the same problem and the patch worked for me.
Thanks @flobruit
Comment #3
steven jones commentedPatch works.
Comment #4
morf2009 commentedThis patch really didn't worked for me. First of all i used another patch already which renamed $image->res to $image->resource ... this patch doesn't use that patch so it didn't worked. Another issue is this patch is created from Git, so it have weird file paths if i'm not wrong ... like (a/sites/... and b/sites).
But on the other hand, if this patch is properly used (copy, paste, rewrite res to resource) it works for me.
Comment #5
steven jones commented@morf2009 You can just use:
patch -p N < name-of-patch.patch
to remove the N path components from the start of the patch, so on the one in this issue, you'd want to use:
patch -p 2 < remove_line.patchmost likely.