Page 1 of 1

Troubles with convert from HTML to JPG

Posted: 2007-11-06T08:42:02-07:00
by scofer
C:\ImageMagick>convert test.html test.jpg
convert: `%s': %s html2ps -U -o "C:/DOCUME~1/artix/LOCALS~1/Temp/magick-14HHinPg
" "C:/DOCUME~1/artix/LOCALS~1/Temp/magick-MPILb9PD".
convert: Delegate failed `html2ps -U -o "%o" "%i"'.
convert: unable to open image `C:/DOCUME~1/artix/LOCALS~1/Temp/magick-14HHinPg':
No such file or directory.
convert: UnableToOpenBlob `C:/DOCUME~1/artix/LOCALS~1/Temp/magick-14HHinPg': No
such file or directory.
convert: missing an image filename `test.jpg'.

Re: Troubles with convert from HTML to JPG

Posted: 2007-11-06T11:09:36-07:00
by magick
For some image formats, ImageMagick requires an external delegate program or library. For HTML it requires both. It requires the script program html2ps to interpret HTML and it requires libJPEG to write JPEG images. You can see if ImageMagick already support JPEG with this command:
  • identify -list format
Make sure the JPEG tag has a mode of rw- (read/write).

Re: Troubles with convert from HTML to JPG

Posted: 2007-11-07T02:13:54-07:00
by scofer
I have libJPEG, but where i can find html2ps ?

I cant find anything via google :(

Re: Troubles with convert from HTML to JPG

Posted: 2007-11-07T10:38:05-07:00
by Bonzo
I put html2ps into google and found some links straight away.

From memory there is the original Perl version and a php version.