.jpg textures made using the Gimp dont work

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Armen138
Posts: 298
Joined: Mon Feb 23, 2004 3:38 am

.jpg textures made using the Gimp dont work

Post by Armen138 »

i edited some textures with the gimp, but now these textures dont load anymore!
even worse, it hangs...
this is the error i get:
Not a JPEG file: starts with 0x50 0x37

what is going wrong?
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

This means that the .jpg file starts with bytes the engine don't understand. Mayby the file format is an unsupported one? I don't know if gimp has these options, but you could try to change the settings how the jpeg is saved as.
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

Post by DarkWhoppy »

I use GIMP for all my textures... it works fine. :? Maybe its the way you export it... (I use the default options with the quality at 100% )
Programmer of the Irrlicht Scene Editor:
Homepage - Forum Thread
Version 2 on its way!!
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

Post by DarkWhoppy »

Here's a shot of what I usually do for JPEGs.... CLICK HERE
Programmer of the Irrlicht Scene Editor:
Homepage - Forum Thread
Version 2 on its way!!
Armen138
Posts: 298
Joined: Mon Feb 23, 2004 3:38 am

Post by Armen138 »

i do the same tho... well maybe i got an old version of the gimp or something.. i resaved the textures as .tga and they work fine
Post Reply