extent and image position
Posted: 2013-09-14T09:39:28-07:00
I'm using the command line tool and I'm trying to use extent to extend the canvas of an image in all directions. Meaning, Top, Left, Right, and Bottom.
Here is my command line text:
convert -verbose -background none -extent 480x500 -limit memory 68 -limit map 68 /location/to/file/bookmark1_6.svg /location/to/file/temp/1379205695_5.png
I've tried this to change the offset of the image as a test: convert -verbose -background none -extent 480x500+250+300 -limit memory 68 -limit map 68 /location/to/file/bookmark1_6.svg /location/to/file/temp/1379205695_5.png
I've also tried adding geometry separate like this:
convert -verbose -background none -geometry +250+300 -extent 480x500 -limit memory 68 -limit map 68 /location/to/file/bookmark1_6.svg /location/to/file/temp/1379205695_5.png
but all these do is extend the bottom of the image. I can't seem to offset the position of the original image, or use extent to add more to the canvas in different directions.
Any suggestions?
Here is my command line text:
convert -verbose -background none -extent 480x500 -limit memory 68 -limit map 68 /location/to/file/bookmark1_6.svg /location/to/file/temp/1379205695_5.png
I've tried this to change the offset of the image as a test: convert -verbose -background none -extent 480x500+250+300 -limit memory 68 -limit map 68 /location/to/file/bookmark1_6.svg /location/to/file/temp/1379205695_5.png
I've also tried adding geometry separate like this:
convert -verbose -background none -geometry +250+300 -extent 480x500 -limit memory 68 -limit map 68 /location/to/file/bookmark1_6.svg /location/to/file/temp/1379205695_5.png
but all these do is extend the bottom of the image. I can't seem to offset the position of the original image, or use extent to add more to the canvas in different directions.
Any suggestions?