LWJGL Forum

Archive => DevIL => Topic started by: Odeamus on August 30, 2005, 07:00:42

Title: Difference in speed between devil and imageio
Post by: Odeamus on August 30, 2005, 07:00:42
Hi!

I was playing around with a texture loader yesterday and started wondering about which is "better" devil or java's imageio facility?
I'm mostly interested in speed, unless there's other factors I should know about.
Although I think there was some texture quality problems when using devil. I'm not sure, so I'll check that tonight.

Thanks in advance.

O.
Title: Difference in speed between devil and imageio
Post by: oNyx on August 31, 2005, 05:36:21
Devil is way faster.

Well, there is no magic involved. Devil just doesnt need to do that much with the data, whereas imageio needs a lot of data transformations and copy actions before you can upload the texture.

Its really a huge speed difference.
Title: Difference in speed between devil and imageio
Post by: Odeamus on August 31, 2005, 06:10:27
Ok thanks! Need to dump my imageio code then. =)

O.