lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 28/10/2010 02:05, David Manura wrote:
FWIW, the start of a pure Lua PNG reader is in [1], if anyone wants to
finish it.  This is not simple like PBM though, and a writer would be
even more work.  The more normal thing to do would be to link to
libpng or os.execute netpbm.

Well, one can also write a SNG [1] file, I suppose (I never tried it).

[1] http://www.catb.org/~esr/sng/
"SNG (Scriptable Network Graphics) is a minilanguage designed specifically to represent the entire contents of a PNG (Portable Network Graphics) file in an editable form. Thus, SNGs representing elaborate graphics images and ancillary chunk data can be readily generated or modified using only text tools."
By none else than Eric S. Raymond...

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --