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:
[WebDNA] read database from other domain (2015)
problems with 2 tags (1997)
For those of you not on the WebCatalog Beta... (1997)
I'm new be kind (1997)
A few questions... (1999)
More Applescript (1997)
[WebDNA] What's the next step? (2015)
Digest for 4/18/97 (1997)
Server IP address-thanks (2004)
Almost a there but..bye bye NetCloak (1997)
WebCat2 beta 11 - new prefs ... (1997)
MATH (1998)
Anyone using [sendmail] for HTML encoded mail? (2000)
Searching using numbers (1998)
RE: [input] formating (1998)
Big Databases (1997)
2 passwords (2003)
Sort Order on a page search (1997)
Search Combining Problem (2004)
docs for WebCatalog2 (1997)