Any newlisp libraries that read jpeg-png-gif files formats?

Guiserver, GTK-server, OpenGL, PostScript,
HTML 5, MIDI, IDE
Locked
denis
Posts: 20
Joined: Wed Apr 27, 2011 12:19 pm
Location: Petsamo, Murmansk, RU

Any newlisp libraries that read jpeg-png-gif files formats?

Post by denis »

I wonder if someone worked on some newlisp library that operates .jpg, .png, and .gif formats. I need to read width and height of an image. It would be great to have uniform interface, that will automatically detect a format of the image file (given as parameter) and read data common for all these formats.

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Re: Any newlisp libraries that read jpeg-png-gif files forma

Post by cormullion »

Jpeg code was once posted here: http://newlispfanclub.alh.net/forum/vie ... =10&t=2012. Perhaps similar code is possible for Png...

denis
Posts: 20
Joined: Wed Apr 27, 2011 12:19 pm
Location: Petsamo, Murmansk, RU

Re: Any newlisp libraries that read jpeg-png-gif files forma

Post by denis »

Thanks, cormullion. Seems I missed this topic while doing search in the forum.
Interesting, the issue also was raised by a person from Russia..
In my problem I need to know image size, as it is required in css styling, when using background image. It happens in a number of cases in the design of html layouts.

Locked