Re: [WebDNA] ImageMagick
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 101857
interpreted = N
texte = --001636c5ad0d1c2a160461a0f272Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 7bitOk,My setup is WebDNA 6 on Mac OSX. My host installed Ghostscript via fink (http://fink.sourceforge.net/). My account is in a sandbox but I have puttogether what the shell command would be below. This works on most PDFs -but always bombs out on PDFs created by InDesign - haven't figured out why.- Tom[!]variables passedinput = [filesource]output = [imageoutput]------------------------------------### Create JPEG from PDF Using Ghostscript ###[/!][shell]/sw/bin/gs -q -dBATCH -dMaxBitmap=300000000 -dNOPAUSE -dSAFER-dUseCropBox -r150 -sDEVICE=jpeg -dTextAlphaBits=4 -dGraphicsAlphaBits=4-dFirstPage=1 -dLastPage=1 -sOutputFile="[imageoutput]""[filesource]"[/shell]--001636c5ad0d1c2a160461a0f272Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printable
Ok,
My setup is WebDNA 6 on Mac OSX. = My host installed Ghostscript via fink (http://fink.sourceforge.net/). My accou=nt is in a sandbox but I have put together what the shell command would be =below. This works on most PDFs - but always bombs out on PDFs created= by InDesign - haven't figured out why.
- Tom
[!]<=/span>
variables passed
input =3D [filesource]
output =3D [imageoutput]
-----------=-------------------------
### Create JPEG from PDF Using Ghostscript = ###
[/!][shell]/sw/bin/gs -q -dBATCH -dMa=xBitmap=3D300000000 -dNOPAUSE -dSAFER -dUseCropBox -r150 -sDEVICE=3Djpeg -d=TextAlphaBits=3D4 -dGraphicsAlphaBits=3D4 -dFirstPage=3D1 -dLastPage=3D1 -s=OutputFile=3D"[imageoutput]" "[filesource]"[/shell]
=span>
--001636c5ad0d1c2a160461a0f272--
Associated Messages, from the most recent to the oldest:
--001636c5ad0d1c2a160461a0f272Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 7bitOk,My setup is WebDNA 6 on Mac OSX. My host installed Ghostscript via fink (http://fink.sourceforge.net/). My account is in a sandbox but I have puttogether what the shell command would be below. This works on most PDFs -but always bombs out on PDFs created by InDesign - haven't figured out why.- Tom
[!]variables passedinput = [filesource]output = [imageoutput]------------------------------------### Create JPEG from PDF Using Ghostscript ###[/!]
[shell]/sw/bin/gs -q -dBATCH -dMaxBitmap=300000000 -dNOPAUSE -dSAFER-dUseCropBox -r150 -sDEVICE=jpeg -dTextAlphaBits=4 -dGraphicsAlphaBits=4-dFirstPage=1 -dLastPage=1 -sOutputFile="[imageoutput]""[filesource]"[/shell]--001636c5ad0d1c2a160461a0f272Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printable
Ok,
My setup is WebDNA 6 on Mac OSX. = My host installed Ghostscript via fink (http://fink.sourceforge.net/). My accou=nt is in a sandbox but I have put together what the shell command would be =below. This works on most PDFs - but always bombs out on PDFs created= by InDesign - haven't figured out why.
- Tom
variables passed
input =3D [filesource]
output =3D [imageoutput]
-----------=-------------------------
### Create JPEG from PDF Using Ghostscript = ###
[/!][shell]/sw/bin/gs -q -dBATCH -dMa=xBitmap=3D300000000 -dNOPAUSE -dSAFER -dUseCropBox -r150 -sDEVICE=3Djpeg -d=TextAlphaBits=3D4 -dGraphicsAlphaBits=3D4 -dFirstPage=3D1 -dLastPage=3D1 -s=OutputFile=3D"[imageoutput]" "[filesource]"[/shell]
=span>
--001636c5ad0d1c2a160461a0f272--
Tom Duke
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Inprovement to listfiles ... (2003)
Security (1999)
I'm new be kind (1997)
[WebDNA] Suggested Platform (2013)
Just Testing (1997)
Running 2 two WebCatalog.acgi's (1996)
Re:redirect from the errorsMessages.db entry (1997)
Passing Cart variable to subdirectory files? (1997)
Extended [ConvertChars] (1997)
Shopping Cart variation... (1997)
Jimmy (1998)
emailer (1998)
OT: 128 bit Encryption (2003)
Showing unopened cart (1997)
Signal Raised error (1997)
Windows 2.1b2 Append Bug? (1997)
Pass a form (2003)
Is the Finder required? (1998)
this year (2000)
Text limits in NT version? (1997)