Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » SWT Image ... Speed
SWT Image ... Speed [message #584171] Mon, 07 October 2002 01:43
Justin Kilimnik is currently offline Justin KilimnikFriend
Messages: 12
Registered: July 2009
Junior Member
I have been doing a lot of work lately with the Eclipse workbench and
modifications to it, and a lot of work with SWT.

One major problem I have noticed with SWT is the Image class. Doing a
image read (1600x1200 JPEG) from the file system takes:

500ms in C++/Intel JPEG Graphics Lib
~1200ms in C# with .NET classes
~2000ms in Java using BufferedImageReader
~4000ms in SWT using the Image class and filename name constuctor

There seems to be no way to convert the standard Java Images to SWT images
so I am stuck with the bad performance of swt.Image. Is there anyway to
speed this up? One of the features with the Intel Graphics lib is that you
can (in simple terms) read the image size before loading the image fully
and decide if you wish to only read every 2nd, 4th, 8th, 16th pixel from
the file (which is a great feature when you are generating Thumbnails from
large images.

Is there someone out there on the SWT team that can help with any of this?
(I am prepared to get involved with this myself as well)
Previous Topic:Complexity growing
Next Topic:[plugin.xml] one plugin refers to a class defined in another plugin
Goto Forum:
  


Current Time: Sun Apr 21 21:08:40 GMT 2024

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

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

Back to the top