Re: Implementing textures functions of d3dx using an extern library.

2008-09-02 Thread Steven Edwards
On Thu, Aug 28, 2008 at 5:20 PM, Jérôme Gardou <[EMAIL PROTECTED]> wrote: > FreeImage : Quite easy to use, the only files not supported are DIB and > PFM... Not so widely represented. I had to recompile it, as packages for it > are not available for 32 bits. (I use a 64 bits ubuntu system). I thin

Implementing textures functions of d3dx using an extern library.

2008-08-31 Thread Jérôme Gardou
It appears this mail did not get in, so I resend it... -- Forwarded message -- From: Jérôme Gardou <[EMAIL PROTECTED]> Date: 2008/8/26 Subject: Implementing textures functions of d3dx using an extern library. To: wine-devel@winehq.org D3DX supports a wide range of file typ

Re: Implementing textures functions of d3dx using an extern library.

2008-08-29 Thread Jérôme Gardou
Henri Verbeet a écrit : 2008/8/29 Jérôme Gardou <[EMAIL PROTECTED]>: If you want, I have an implementation of this same function for png... This one is not commented at all, and need some rework. Get it for comparison. As you said, it needs some cleanup etc, but at least it doesn't loo

Re: Implementing textures functions of d3dx using an extern library.

2008-08-29 Thread Jérôme Gardou
Henri Verbeet a écrit : > 2008/8/29 Jérôme Gardou <[EMAIL PROTECTED]>: > >> If you want, I have an implementation of this same function for png... This >> one is not commented at all, and need some rework. Get it for comparison. >> >> > As you said, it needs some cleanup etc, but at least i

Re: Implementing textures functions of d3dx using an extern library.

2008-08-28 Thread Henri Verbeet
2008/8/29 Jérôme Gardou <[EMAIL PROTECTED]>: > > If you want, I have an implementation of this same function for png... This > one is not commented at all, and need some rework. Get it for comparison. > As you said, it needs some cleanup etc, but at least it doesn't look fundamentally broken to me.

Re: Implementing textures functions of d3dx using an extern library.

2008-08-28 Thread Jérôme Gardou
Jérôme Gardou a écrit : Henri Verbeet a écrit : 2008/8/28 Jérôme Gardou <[EMAIL PROTECTED]>: D3DX supports a wide range of file types for textures. Instead of rewriting everything from scratch, the best would certainly be to use some image processing library to handle them. As a bonus, this

Re: Implementing textures functions of d3dx using an extern library.

2008-08-28 Thread Jérôme Gardou
Henri Verbeet a écrit : > 2008/8/28 Jérôme Gardou <[EMAIL PROTECTED]>: > >> D3DX supports a wide range of file types for textures. Instead of rewriting >> everything from scratch, the best would certainly be to use some image >> processing library to handle them. As a bonus, this would allow lig

Re: Implementing textures functions of d3dx using an extern library.

2008-08-28 Thread Henri Verbeet
2008/8/28 Jérôme Gardou <[EMAIL PROTECTED]>: > D3DX supports a wide range of file types for textures. Instead of rewriting > everything from scratch, the best would certainly be to use some image > processing library to handle them. As a bonus, this would allow lighter > code. > I'm not sure it wou

Re: Implementing textures functions of d3dx using an extern library.

2008-08-28 Thread Jérôme Gardou
Juan Lang a écrit : >> Here is an implementation of D3DXGetImageInfoFromFileInMemory using >> FreeImage. >> > > Is the license compatible? FreeImage is dual-licensed with the GPL > (which Wine cannot use) and their own license. I'd be surprised if > their license were LGPL compatible. > --Ju

Re: Implementing textures functions of d3dx using an extern library.

2008-08-28 Thread Juan Lang
> Here is an implementation of D3DXGetImageInfoFromFileInMemory using > FreeImage. Is the license compatible? FreeImage is dual-licensed with the GPL (which Wine cannot use) and their own license. I'd be surprised if their license were LGPL compatible. --Juan

Implementing textures functions of d3dx using an extern library.

2008-08-28 Thread Jérôme Gardou
D3DX supports a wide range of file types for textures. Instead of rewriting everything from scratch, the best would certainly be to use some image processing library to handle them. As a bonus, this would allow lighter code. Some of those library are : SDL_Image : easy to use, but loading an i