Jump to content
  • Advertisement


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

D3DXGetImageInfoFromFile problems

This topic is 5866 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

Does anyone know what file types this function will work on? According to the msdn it "Retrieves information about a given image file". I assumed that it would work on .bmp jpg png etc, basically the types that D3DXCreateTextureFromFile works on but when i try jpegs D3DXGetImageInfoFromFile coughs up a hairball and falls over dead, png results in the hairball and a lot of moaning but it returns the correct info. Ideas? Maybe i should try a different function to retrieve image data? EDIT: Correction png=no hairball (i was running an old build) but jpg definately doesn't work /* Ignorance is bliss, then you go and spoil it by learning stuff */ [edited by - zipless on April 30, 2002 10:59:25 AM]

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!