using html2ps php version with imagemagick
using html2ps php version with imagemagick
Is there any special configuration I must do to have imagemagick (convert utility) use the php version of html2ps? The php version appears to have cleaner output then the perl-script version.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
- Contact:
Re: using html2ps php version with imagemagick
The html2ps is executed through a delgate
You can IM's use of the command using
Which means html is converted to something IM will automatically recognise (postscript). IM then uses a "ghostscript" delegate to convert that to a raster image.
Check what your PHP version of IM is using, compared to the CLI (probably on another machine)
Also check versions of IM. ghostscript, and html2ps, as one may have 'improvements'.
You can IM's use of the command using
Code: Select all
convert -list delegate | grep html2psCode: Select all
htm => "html2ps" -U -o "%o" "%i"
html => "html2ps" -U -o "%o" "%i"
shtml => "html2ps" -U -o "%o" "%i"Check what your PHP version of IM is using, compared to the CLI (probably on another machine)
Also check versions of IM. ghostscript, and html2ps, as one may have 'improvements'.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot], Semrush [Bot] and 25 guests