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.

CommentFileSizeAuthor
remove_line.patch1.45 KBfloretan

Comments

alextronic’s picture

The bug exists. It's annoying.

but the patch doesn't work...

A

Tony Sharpe’s picture

I had the same problem and the patch worked for me.
Thanks @flobruit

steven jones’s picture

Status: Needs review » Reviewed & tested by the community

Patch works.

morf2009’s picture

This 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.

steven jones’s picture

@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.patch
most likely.