If I save out the cut out rectangles they appear exactly as I would expect. However, when I merge them together into one image, there is a slight colour bleed between the two rectangles, which I need to prevent some how.
The bleed appears to be a blur across the shared edge between the two images.
Can anyone tell me why the bleed is happening and suggest how to avoid it?
Thanks
Jules
Code: Select all
convert^
-virtual-pixel horizontal-tile-edge^
Test3072x1536.jpg^
^( -clone 0^
-set option:distort:viewport "3072x1024+0+256"^
-distort SRT "1536,768 0.9996744792,0.9990234375 0 1536,768"^
^)^
^( -clone 0^
-set option:distort:viewport "1536x256+0+0"^
-distort SRT "1536,128 0.4996744792,0.99609375 0 768,128"^
^)^
-delete 0^
-layers merge^
+repage^
TestOut.jpg
https://www.dropbox.com/s/wi23o4978nuy4 ... 2x1536.jpg
https://www.dropbox.com/s/hbrc2909g5956sc/TestOut.jpg
An example pixel that is showing the bleeding is 1240,256 which is tinted slighty orange and should be the colour of the pixel below.