Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP Large jpeg Image Load
RCP Large jpeg Image Load [message #435965] Fri, 26 August 2005 11:05 Go to next message
Eclipse UserFriend
Originally posted by: itsupport.millwood.uk.com

Hi All

I have a problem loading large image into a ImageData object, where it
will not import the byte data of the larger files. However the smaller
files (gif and jpg) work fine, it gives me a arrayindexoutofbounds error
when trying to render the imagedata through a image as obviously there
is no data present.

Code Snippet:
ImageData b = (new ImageLoader()).load(a)[0];


I have also tried:

new ImageData(a);

where a is a string description of the file location.

Any ideas?

Thanks,

James
Re: RCP Large jpeg Image Load [message #436175 is a reply to message #435965] Thu, 01 September 2005 16:11 Go to previous message
Boris Bokowski is currently offline Boris BokowskiFriend
Messages: 272
Registered: July 2009
Senior Member
You might want to ask your question in the SWT newsgroup.

"James Salt" <itsupport@millwood.uk.com> wrote in message
news:demt1n$oin$1@news.eclipse.org...
> Hi All
>
> I have a problem loading large image into a ImageData object, where it
> will not import the byte data of the larger files. However the smaller
> files (gif and jpg) work fine, it gives me a arrayindexoutofbounds error
> when trying to render the imagedata through a image as obviously there
> is no data present.
>
> Code Snippet:
> ImageData b = (new ImageLoader()).load(a)[0];
>
>
> I have also tried:
>
> new ImageData(a);
>
> where a is a string description of the file location.
>
> Any ideas?
>
> Thanks,
>
> James
Previous Topic:Splash Sreen and background operation.
Next Topic:Exchanging data between plugins
Goto Forum:
  


Current Time: Mon Dec 02 23:39:38 GMT 2024

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

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

Back to the top