Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » load image to Gallery very slow
load image to Gallery very slow [message #595588] Sat, 11 July 2009 19:42
gaston  is currently offline gaston Friend
Messages: 8
Registered: July 2009
Junior Member
I use swt.image for assign images of the a folder with many images of high
sized but is very slow. Next I use the image with xxx.setImage();
I would like you to help me.
This is the code:

Image itemImage;
alleryItem item ;

// files.lenght = 700;

for (int i = 0, n = files.length; i < n; i++) {
itemImage = new Image(display, files[i].toString());
// resize the image
item.setImage(resize(itemImage, 640, 480));

Previous Topic:Questions on Nebula Grid
Next Topic:Nebula Grid in RCP application
Goto Forum:

Current Time: Sun Aug 25 06:46:54 GMT 2019

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

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

Back to the top