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

Started by denis, February 26, 2012, 03:54:07 AM

Previous topic - Next topic

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

Jpeg code was once posted here: http://newlispfanclub.alh.net/forum/viewtopic.php?f=10&t=2012">//http://newlispfanclub.alh.net/forum/viewtopic.php?f=10&t=2012. Perhaps similar code is possible for Png...

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.