Using trim takes away just a little too much. I know I can specify the bordercolor manually, but I want it to figure out the color by looking at the pixel at 0,0 and use that.
This is what I would like to do:
Code: Select all
convert source.png -trim -bordercolor pixel(0,0) -border 4 output.png