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

Guiserver, GTK-server, OpenGL, PostScript,
HTML 5, MIDI, IDE

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

Postby denis » Sun Feb 26, 2012 11:54 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.
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

Postby cormullion » Sun Feb 26, 2012 9:59 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...
cormullion
 
Posts: 2037
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W

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

Postby denis » Mon Feb 27, 2012 8:29 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.
denis
 
Posts: 20
Joined: Wed Apr 27, 2011 12:19 pm
Location: Petsamo, Murmansk, RU


Return to newLISP Graphics & Sound

Who is online

Users browsing this forum: No registered users and 1 guest