Very good answer On Thu, Feb 3, 2011 at 11:12 AM, Natarajan V <[email protected]> wrote: > On Thu, Feb 3, 2011 at 1:00 AM, kish <[email protected]> wrote: >> Hi, >> >> I'd like to write an application that will >> convert a novel spanning multiple pages to multiple PNG files of specific >> size say 480 x 272 each. > > Are you sure you want to use PNG? PNG is an image format, and > converting a Text to image actually reduces the quality of output and > increases the file size. It will also prevent people from using it for > copy+paste, etc.. IMHO, a PDF would be better. > >> I'm looking at Python Imaging Library. > > Not sure of a Python lib, but GS has the following tools that you can > use from a shell script: > > text2ps --> convert a text file into a PostScript file > ps2png --> Convert a PostScript file into PS. > > > with regards, > Natarajan. > _______________________________________________ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc >
-- Gayatri Hitech http://gayatri-hitech.com [email protected] _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
