www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Is there any Libjpeg D port?

reply "Miguel Ferreira Simões" <Kobold netcabo.pt> writes:
I think the subject says all.

Miguel Ferreira Simoes 
Mar 17 2005
parent reply Mike Parker <aldacron71 yahoo.com> writes:
Miguel Ferreira Simões wrote:
 I think the subject says all.
 

I've not seen one yet. I plan on looking into implementing one as part of the Derelict project at DSource eventually. But if the libjpeg headers are anything like libpng, then someone else can mess with it. Derelict does currently contain a port of SDL_Img, which can load jpegs through libjpeg. The drawback to that of course is that it pulls in a dependency on SDL, which is a bit much just to load images.
Mar 18 2005
next sibling parent "Miguel Ferreira Simões" <Kobold netcabo.pt> writes:
I want to avoid the dependency on sdl.
I guess porting libjpeg should be an hard task.
Do you know any tiny jpeg decoder, easier to port than libjpeg?


Miguel Ferreira Simoes 
Mar 18 2005
prev sibling parent "Miguel Ferreira Simões" <Kobold netcabo.pt> writes:
I found that Undig library of Burton Radons uses libjpeg and libpng.
If you want their headers you should have a look. (it is available from 
www.dsource.org)

Miguel Ferreira Simões 
Mar 19 2005