NEWBIE: Transparent Background & Cropping Image

Post questions on how to use or achieve an effect in Inkscape.
lwp19

NEWBIE: Transparent Background & Cropping Image

Postby lwp19 » Fri Jun 25, 2010 1:05 am

I’m a novice at Inkscape and I’m trying to teach myself how to use it. TWO ISSUES: I created a simple image with text and an object that I’m trying to save as a PNG file with a transparent background. I can’t get the background to be transparent. Secondly, I don’t know how to crop the image so that when I save it, it doesn’t save the whole canvas as part of the image. I tried copying and pasting the grouped text/objects into GIMP, but I still can’t get the background to be transparent. Any advice?

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: NEWBIE: Transparent Background & Cropping Image

Postby prkos » Fri Jun 25, 2010 3:14 am

The default Inkscape bg is transparent. Are you using the Export bitmap option or Save as Cairo png? Don't use Cairo PNG.

When exporting you can choose between Page, Drawing and selected areas (or use a custom one).
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

lwp19

Re: NEWBIE: Transparent Background & Cropping Image

Postby lwp19 » Fri Jun 25, 2010 10:52 am

Great, thanks. That was easy enough!

alanthonyc
Posts: 1
Joined: Sat Jul 03, 2010 3:17 am

Re: NEWBIE: Transparent Background & Cropping Image

Postby alanthonyc » Sat Jul 03, 2010 3:32 am

Hi,

Thanks for this info.

But (serious question), is there any reason why it would make sense that saving as a PNG will include the supposedly transparent background and make it white?

Thanks again.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: NEWBIE: Transparent Background & Cropping Image

Postby brynn » Sat Jul 03, 2010 6:55 am

Maybe because it's impossible to draw over the annoying checkboard pattern, and still be able to see what you're doing?

Actually I have no idea why it is, but I do MUCH prefer it, personally. But I think the bottom line is that vector graphics is just completely different from raster graphics, and there's a lot that one must get used to doing differently, when taking up vector graphics.

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: NEWBIE: Transparent Background & Cropping Image

Postby prkos » Sat Jul 03, 2010 7:53 am

Older versions of IE don't support PNG transparency so this might be a reason to export opaque images.
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: NEWBIE: Transparent Background & Cropping Image

Postby ~suv » Sat Jul 03, 2010 8:38 am

alanthonyc wrote:(…) is there any reason why it would make sense that saving as a PNG will include the supposedly transparent background and make it white?

Quoting from a recent discussion in inkscape-devel:
Ted Gould wrote:it was for testing the Cairo output. It was part of the GSoC project to do PDF output, and was easy enough to add, so we left it in for testing Cairo rendering.


Return to “Help with using Inkscape”