Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [REPOST: Re: How to capture image of a composite]
[REPOST: Re: How to capture image of a composite] [message #453867] Wed, 13 April 2005 01:34 Go to next message
Eclipse UserFriend
Originally posted by: aaa.domain.invalid

Hello,

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet95.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup

I followed the procedure in the example managed to creat a image of my
main screen widget.
I did get it to work but the image quality for the jpeg was very bad.
Then I tried to save it as a GIF and got a

org.eclipse.swt.SWTException: Unsupported color depth

The bitmap format looke the best.

What do I need to do to save its a good quality JPEG or GIF?

-Chhil
Re: [REPOST: Re: How to capture image of a composite] [message #453878 is a reply to message #453867] Wed, 13 April 2005 15:40 Go to previous message
Henning Rogge is currently offline Henning RoggeFriend
Messages: 148
Registered: July 2009
Senior Member
Chhil wrote:
> I followed the procedure in the example managed to creat a image of my
> main screen widget.
> I did get it to work but the image quality for the jpeg was very bad.
> Then I tried to save it as a GIF and got a
>
> org.eclipse.swt.SWTException: Unsupported color depth

GIF cannot handle 16 bit or truecolor ( 24 bit ) images...

Henning Rogge
Previous Topic:Loading SWT Image
Next Topic:org.eclipse.swt disappears in 3.1M6
Goto Forum:
  


Current Time: Wed Sep 25 17:17:36 GMT 2024

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

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

Back to the top