[SOLVED] Transparent Background for PNG

Screenshots, Vectorial Preview and printable exports
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
elijah
Gephi Community Support
Posts:169
Joined:11 Sep 2010 18:09
Location:Stanford, CA
Contact:
[SOLVED] Transparent Background for PNG

Post by elijah » 16 Oct 2011 17:45

Is this possible? I have some graphs that produce such large SVGs that they're practically unworkable. I'd prefer to just output PNG with transparency at high resolution. I'd also like to do this with the toolkit.

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Transparent Background for PNG

Post by mbastian » 17 Oct 2011 01:27

Yes it's possible, from the PNG export options:
Screen shot 2011-10-16 at 5.21.13 PM.png
Screen shot 2011-10-16 at 5.21.13 PM.png (23.73KiB)Viewed 4732 times
From the Toolkit, when you manipulate the PNGExporter object, there is a "setTransparentBackground()" method.

elijah
Gephi Community Support
Posts:169
Joined:11 Sep 2010 18:09
Location:Stanford, CA
Contact:

Re: Transparent Background for PNG

Post by elijah » 17 Oct 2011 04:39

Oh, that's right, I remember that checkbox--the toolkit option was really what I was looking for. Thanks!

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable