Canvas Size
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 65
- Joined: Thu Oct 07, 2010 4:47 pm
Canvas Size
Hopefully this is a relatively easy request. I am trying to write code that would open a PNG file, resize the canvas of the file and then save the file with the new canvas size. I do not want to scale the image I just want to increase the canvas size. Thanks in advance!
-
- Posts: 65
- Joined: Thu Oct 07, 2010 4:47 pm
Re: Canvas Size
Answered my own question was pretty simple, just use the CROP command:
Code: Select all
crop image "image" to the rect of this card
export image "image" to file "/testimage.png" as png
-
- Posts: 54
- Joined: Fri Jan 20, 2012 6:08 pm
Re: Canvas Size
This will help me.
Thanks!
Thanks!