Exporting to PNG/Cropping question
I'm trying to reproduce an effect I was able to create way back when I was using a program called Photo>Graphics on the OS/2 platform. Essentially, it could be set up so that when you defined a page size and then exported to a raster graphic (in this case PNG), any part of the image that exceeded the page boundaries was automatically cropped.
Is this possible with Inkscape? It doesn't seem to be a default setting.
Christopher B. Wright (wrightc@...537...)
Christopher B. Wright (cwbrenn@...12...) Sent from my Yahoo! Mail account, pardon the mess.
Spake Christopher B. Wright:
I'm trying to reproduce an effect I was able to create way back when I was using a program called Photo>Graphics on the OS/2 platform. Essentially, it could be set up so that when you defined a page size and then exported to a raster graphic (in this case PNG), any part of the image that exceeded the page boundaries was automatically cropped.
Is this possible with Inkscape? It doesn't seem to be a default setting.
If you export page, the bits outside the page boundary are cropped. If you export `selection', I think you can define an arbitrary bounding box -- i.e. you put an empty rectangle beneath everything else, then export it as the selection to crop outside that area.
I'm trying to reproduce an effect I was able to create way back when I was using a program called Photo>Graphics on the OS/2 platform. Essentially, it could be set up so that when you defined a page size and then exported to a raster graphic (in this case PNG), any part of the image that exceeded the page boundaries was automatically cropped.
yes and no. at export you can choose to export 'whole page', thus any thing outside will be cropped. on the other hand, if the image is not full page (or more tha full page), you'll get lots of blank space...
regards, bostjan
I'm trying to reproduce an effect I was able to create way back when I was using a program called Photo>Graphics on the OS/2 platform. Essentially, it could be set up so that when you defined a page size and then exported to a raster graphic (in this case PNG), any part of the image that exceeded the page boundaries was automatically cropped.
Is this possible with Inkscape? It doesn't seem to be a default setting.
Christopher B. Wright
Actually, this is very easy to achieve.
First off you can set the page size in File>Document Preferences with the "Custom Canvas" options. You can do this for all documents. And if there are sizes you use regularly you can even throw a customized document in with the templates on your system.
And when exporting a PNG, there are 4 buttons under "export area" in the export options that choose what portion of the canvas you would like to export. Make sure that "Page" is selected, and this should be what you're looking to achieve.
-Josh
Christopher B. Wright wrote:
I'm trying to reproduce an effect I was able to create way back when I was using a program called Photo>Graphics on the OS/2 platform. Essentially, it could be set up so that when you defined a page size and then exported to a raster graphic (in this case PNG), any part of the image that exceeded the page boundaries was automatically cropped.
Is this possible with Inkscape? It doesn't seem to be a default setting.
use Export Bitmap and select Page
participants (5)
-
Christopher B. Wright
-
igzebedze
-
Joshua A. Andler
-
Nicu Buculei
-
Trent Buck