newLISP Fan Club

Forum => newLISP Graphics & Sound => Topic started by: denis on February 26, 2012, 03:54:07 AM

Title: Any newlisp libraries that read jpeg-png-gif files formats?
Post by: denis on February 26, 2012, 03:54:07 AM
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.
Title: Re: Any newlisp libraries that read jpeg-png-gif files forma
Post by: cormullion on February 26, 2012, 01:59:20 PM
Jpeg code was once posted here: //http://newlispfanclub.alh.net/forum/viewtopic.php?f=10&t=2012. Perhaps similar code is possible for Png...
Title: Re: Any newlisp libraries that read jpeg-png-gif files forma
Post by: denis on February 27, 2012, 12:29:41 AM
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.