[Gllug] How to convert a webpage to an image ?

budgester at budgester.com budgester at budgester.com
Wed Jun 6 20:43:55 UTC 2007


On Wed, Jun 06, 2007 at 04:41:42PM +0100, - Tethys wrote:
> On 6/6/07, budgester at budgester.com <budgester at budgester.com> wrote:
> 
> > So far I'm wget'ing the page, then using html2ps, but then need to
> > convert the .ps to a jpg/bmp file.
> >
> > This is probably not the nicest way, any one got any ideas.
> 
> No, it's probably not the best way to do it, but since you've got that far,
> all you need to do is:
> 
> 
> pstopnm file.ps | cjpeg > file.jpg
> 
> or
> 
> pstopnm file.ps | ppmtobmp > file.bmp
> 

Cool, thanks for that, ended up using imagemagick/convert in the end so
I could slice off areas.

> 
> PS. BMP? Surely something more sane like PNG (pnmtopng) would be a
> better choice for a lossless image?

The image will end end being a desktop background on a windows desktop.

It's for a school, to show which class has got the most good behavior points.

Thanks for all your help.

Regards

Budgester
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list