Article View: borland.public.jbuilder.java.language
Article #18648Re: Reading JPEG image from a Memory array.
From: Nathan Kirkham
Date: Wed, 13 May 1998 00:00
Date: Wed, 13 May 1998 00:00
28 lines
1489 bytes
1489 bytes
One thing to be aware of when using images from memory. The JIT compiles these images automatically, on a 7k GIF this cause 70 seconds additional delay to a program loading which otherwise took less than a second. Nathan Allen Pauna wrote: > Hello, > Here is the problem I am having, I need to load an Image object with a image > that is stored in memory. > This is because the JPEG image is stored inside of another file, and I parse > through the file to get the image > data. I then store the image data into a int array. This int array contains > all the image data including the header > file. The JPEG image is a lossy baseline image, which as far as I can tell > will not decode using > MemoryImageSource class. Any suggestions would be helpful. -- ------------------------------------------ Nathan Kirkham - nathan@result2k.u-net.com Java Programmer Result 2000 Plc http://www.result.co.uk
Technical Details
Message-ID:
<3559CDF9.4425E18@NOSPAM.result2k.u-net.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6jaib6$alc26@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,e350162a80fb185 X-Google-Attributes: gidf74b3,public From: Nathan Kirkham <nathan@NOSPAM.result2k.u-net.com> Subject: Re: Reading JPEG image from a Memory array. Date: 1998/05/13 Message-ID: <3559CDF9.4425E18@NOSPAM.result2k.u-net.com> X-Deja-AN: 352921644 Content-Transfer-Encoding: 7bit References: <6jaib6$alc26@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: Result 2000 Plc Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language