Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » saving image to file
saving image to file [message #144296] Sat, 24 July 2004 19:06 Go to next message
Eclipse UserFriend
Originally posted by: kris.o2.pl

hello

I started using draw2d, it look super, but I have no idea how to do one
thing
if somebody could help I woul be very gratefull

I've created a class that extends Figure, then I've implemented method
paintFigure(Graphics g)
what is the simplest way to save created image to file ? (on the screen it
looks fine)
is it possible ?

thanks in advance

Kris
Re: saving image to file [message #146029 is a reply to message #144296] Mon, 02 August 2004 19:47 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
There's an ImageAnalyzer example that SWT provides. It probably shows how
to do this. Just search for it. For further questions regarding this,
please use the eclipse.platform.swt newsgroup.

"Kris" <kris@o2.pl> wrote in message news:cduc0p$pup$1@eclipse.org...
> hello
>
> I started using draw2d, it look super, but I have no idea how to do one
> thing
> if somebody could help I woul be very gratefull
>
> I've created a class that extends Figure, then I've implemented method
> paintFigure(Graphics g)
> what is the simplest way to save created image to file ? (on the screen it
> looks fine)
> is it possible ?
>
> thanks in advance
>
> Kris
>
>
Previous Topic:ManhattanConnectionRouter and manualy bending
Next Topic:Serializing Color with the model
Goto Forum:
  


Current Time: Wed Apr 24 22:12:19 GMT 2024

Powered by FUDForum. Page generated in 0.02945 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top