Page 1 of 1

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

PostPosted: Sun Feb 26, 2012 11:54 am
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.

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

PostPosted: Sun Feb 26, 2012 9:59 pm
by cormullion
Jpeg code was once posted here: http://newlispfanclub.alh.net/forum/viewtopic.php?f=10&t=2012. Perhaps similar code is possible for Png...

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

PostPosted: Mon Feb 27, 2012 8:29 am
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.