D3DXGetImageInfoFromFile problems
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]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement