Chopping images without gravity
Posted: 2016-05-31T13:32:20-07:00
Hello,
I have an array of (x,y) coordinate points in python and I would like to remove pixels that correspond to those coordinates. This is my first time using imageMagick, so I'm having some trouble. Right now, I'm using, but chop moves the image in a direction. Is there a way to chop and keep the part that was chopped transparent?
EDIT: I am using Version: ImageMagick 6.9.4-5 Q16 x86_64 on Mac.
I have an array of (x,y) coordinate points in python and I would like to remove pixels that correspond to those coordinates. This is my first time using imageMagick, so I'm having some trouble. Right now, I'm using
Code: Select all
convert -chop 1x1+x+y input.png output.png
EDIT: I am using Version: ImageMagick 6.9.4-5 Q16 x86_64 on Mac.