[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: Displaying Image Thumbnails
|
If your images are > 200k in size I would not use an ImageDescriptor, Image
or ImageData object. You can resize images very quickly with ImageMagick
though. http://www.imagemagick.org/ They have a JNI interface (I haven't
used it). I did use their standalone programs once though and they are very
fast and efficient. Supported on multiple platforms to.
Thanks
Dave
"Schnul" <schnul@xxxxxx> wrote in message news:b7p0vh$pd$1@xxxxxxxxxxxxxxxx
> Hi there!
>
> I hope this is the right place to post this question... I am working on a
> standalone application and started using SWT as I think it's a really
great
> UI.
>
> Now I would like to display a thumbnail, but I don't know whether or not
> there is a way to do that and if yes, how to do it. My images are quite
big
> and would like to avoid that I've to create own thumbnail files. When I
try
> to use the ImageDescriptor I already get an Out of Memory error (I tried
to
> use the descriptor and then to resize the image).
>
> I would really be happy if somebody could let me know if there is a way to
> do that. Might be there is no way yet, because SWT was not designed for
such
> reasons (or not yet).
>
> Thanks,
> Chris
>
>