|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Fastest way to load jpg images ?Hi,
I'm currently using image.fromfile to load jpg images in my application. I've noted that this procedure is very slow compared to some aplications I have seen. Is there any way to load a jpeg image into an image or bitmap object faster that image.fromfile?. Prefereably one method or component that is free. Thanks a lot for your help. jordi_ra***@hotmail.com wrote:
> Hi, The question I have is if it is slow loading the image or is it slow > I'm currently using image.fromfile to load jpg images in my > application. I've noted that this procedure is very slow compared to > some aplications I have seen. Is there any way to load a jpeg image > into an image or bitmap object faster that image.fromfile?. Prefereably > one method or component that is free. > > Thanks a lot for your help. > displaying the image (which is the part I believe would be slow for you) Chris
Show quote
Hide quote
"Chris" <no@spam.com> wrote in message I spent some time with this same issue last month.news:OgOJae6QGHA.4344@TK2MSFTNGP12.phx.gbl... > jordi_ra***@hotmail.com wrote: >> Hi, >> I'm currently using image.fromfile to load jpg images in my >> application. I've noted that this procedure is very slow compared to >> some aplications I have seen. Is there any way to load a jpeg image >> into an image or bitmap object faster that image.fromfile?. Prefereably >> one method or component that is free. >> >> Thanks a lot for your help. >> > > The question I have is if it is slow loading the image or is it slow > displaying the image (which is the part I believe would be slow for you) 98% of the time dealing with jpeg's is decompressing them. On my machine with 1600x1200x24bpp I can load and display at about 15-32 images per second, depending on compression options. Just displaying from an array is over 200 per second. So decode time is the killer. Due to all the bit twiddling in decoding the images, I do not think that ..Net is the best choice. 3rd party C++ COM controls get about a 50% boost over the .Net library image functions. I saw a video on Channel 9 recently talking about a bunch of imaging speed improvements in Vista. Not much help at the moment.. Hi, thanks for your response. Can you tell me some 3rd party control to
speed up the jpeg load?. Thanks a lot. I've tried to load the EXIF thumbnail instead of the jpeg itself and
I'm resizing the thumbnail to the image's original size, it is ver fast so... THE PROBLEM IS LOADING/DECODING THE JPEG NOT SHOWING IT. That's, obiously my opinion..
WebBrowser Control Printing
Garbage collection, Unmanaged code and SafeArrays Defining data types for fields, when you a create a file Print pdf from Internet Explorer using VB .NET close Form1 & open Form2 Problem sending Report as EMail - wrong attach. name "untitled.txt" Regular Expression Question Single event handler for menu convert string array to long array Best Way to Import Fixed Width Files |
|||||||||||||||||||||||