JPEG images rendering slowly

A

Adam Nofsinger

Hi,

I have a custom application that works as a Digital Sign network client,
downloading and displaying standard jpeg images and Flash clips in a
full screen display.

I'm trying to cut some of the fat out of our XPE images - the previous
techs seemed to simply use a "full-blown" image similar to the XP Pro
Emulated image I've seen floating around xpefiles and this forum.

So, I've gotten everything with respect to the client to work starting
from a bare-bones XPE image and slowly building it
component-by-component. One final problem exists however.

The JPEG images that are displayed are rendered too slowly - about half
the image comes in then 200ms or so later the other half comes in. Even
after looping the whole show, the images still render slowly. Oddly,
the Flash 9 "movies" render very quick and smooth. The VIA/S3G
UniChrome IGP Graphics adapter drivers are properly installed, and I
know the hardware is fast enough (images render super fast even using
software rendering in DSL live CD running on the board).

I've tried adding the following components to the image with no effect
whatsoever:

GDI+ XPSP2 [R2890]
DirectDraw [R2890]
Direct3D [R2890]
DirectX Diagnostic Utility [R2890]

I'm pretty sure the application doesn't use DirectX, but I added the DX9
stuff as proof-of-concept that the Graphics Adapter drivers are
installed and working. I believe the application was written using
Turbo Delphi 2006, and uses a standard TImage panel or TImageList or the
like for displaying images - whatever libraries in Windows those use
(I'm not sure).

So, anyone have any suggestions for what is missing from this XPE image
that is present in the full-blown XP image and lets it render the JPEG
graphics quickly?

Thanks,

Adam
ims3k.com
 
A

Adam Nofsinger

I'm not sure whether this helps or not, but I found out some more
information about what Delphi VCL application use to render images.

From the Turbo Delphi Help: "In VCL applications, the graphics
components defined in the Graphics unit encapsulate the Windows Graphics
Device Interface (GDI), making it easy to add graphics to your Windows
applications"

Well, I know I have the "Windows API - GDI" compenent, and I've tried
adding all the "GDI+" and "GDI+ XPSP2" components which doesn't seem to
help either.
 
A

Adam Nofsinger

Eureka!

I don't know why I didn't think of this earlier. I just turned on
Double Buffering in the application itself for the form that displays
the images, and it looks sexier than ever! Even on the full-blown
images and my development computer.

Off topic, but if anyone is wondering this site has great info on
removing flicker from images:

http://delphi.about.com/library/bluc/text/uc052102g.htm

Good Luck!

Adam
ims3k.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top