Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

FooFighter

JPEG and DelphiX

This topic is 5839 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! What I would like to know: Can DelphiX display JPEG image files? It loads in the imagelist but it seems that it can''t display it on the DirectDraw Surface. BMP''s are too large and slows the project saving/loading in Delphi. A Background image that I did in Paint Shop Pro got 900KB!!! I had no choice becouse the background is cool and my game needs it... So, if anybody knows, I would be thankfully. Thanks in advance. Delphi just rules!!!

Share this post


Link to post
Share on other sites
Advertisement
Have you ensured that jpeg is in your uses statement? While you can ''load'' jpegs using the IDE in the image selection dialog, they will only be correctly interpretted at runtime if you include the jpeg unit, which extends the TGraphic to included jpeg support.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!