Re: [WebDNA] ImageMagick

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 101857
interpreted = N
texte = --001636c5ad0d1c2a160461a0f272 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Ok, 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 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 = [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] --001636c5ad0d1c2a160461a0f272 Content-Type: text/html; charset=UTF-8 Content-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]


--001636c5ad0d1c2a160461a0f272-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Imagemagick ("Steve @ Tailored Web Solutions" 2018)
  2. Re: [WebDNA] Imagemagick (Stuart Tremain 2018)
  3. Re: [WebDNA] Imagemagick (Stephen Braun 2018)
  4. Re: [WebDNA] Imagemagick (Stuart Tremain 2018)
  5. Re: [WebDNA] Imagemagick (Terry Wilson 2018)
  6. Re: [WebDNA] Imagemagick (Stuart Tremain 2018)
  7. Re: [WebDNA] Imagemagick (Stephen Braun 2018)
  8. Re: [WebDNA] Imagemagick (Palle Bo Nielsen 2018)
  9. Re: [WebDNA] Imagemagick (Chris Van Dromme 2018)
  10. [WebDNA] Imagemagick (Stephen Braun 2018)
  11. Re: [WebDNA] ImageMagick (Office 2016)
  12. Re: [WebDNA] ImageMagick (WebDNA Development 2016)
  13. [WebDNA] ImageMagick (Office 2016)
  14. Re: [WebDNA] ImageMagick code (Stephen Braun 2013)
  15. Re: [WebDNA] ImageMagick code (Stuart Tremain 2013)
  16. Re: [WebDNA] ImageMagick code ("Terry Wilson" 2013)
  17. Re: [WebDNA] ImageMagick code ("Terry Wilson" 2013)
  18. Re: [WebDNA] ImageMagick code (John Butler 2013)
  19. Re: [WebDNA] ImageMagick code (John Butler 2013)
  20. Re: [WebDNA] ImageMagick code ("Terry Wilson" 2013)
  21. Re: [WebDNA] ImageMagick code (Stephen Braun 2013)
  22. Re: [WebDNA] ImageMagick code (John Butler 2013)
  23. [WebDNA] ImageMagick code (Stephen Braun 2013)
  24. Re: [WebDNA] ImageMagick troubleshooting (Patrick McCormick 2009)
  25. Re: [WebDNA] ImageMagick troubleshooting (Terry Wilson 2009)
  26. Re: [WebDNA] ImageMagick troubleshooting (Patrick McCormick 2009)
  27. Re: [WebDNA] ImageMagick troubleshooting (Patrick McCormick 2009)
  28. Re: [WebDNA] ImageMagick troubleshooting (Terry Wilson 2009)
  29. Re: [WebDNA] ImageMagick troubleshooting (Terry Wilson 2009)
  30. Re: [WebDNA] ImageMagick troubleshooting (Tom Duke 2009)
  31. [WebDNA] ImageMagick troubleshooting (Patrick McCormick 2009)
  32. [WebDNA] ImageMagick function library updated (Terry Wilson 2009)
  33. Re: [WebDNA] ImageMagick function library now available (Terry Wilson 2009)
  34. Re: [WebDNA] ImageMagick function library now available (christophe.billiottet@webdna.us 2009)
  35. [WebDNA] ImageMagick function library now available (Terry Wilson 2009)
  36. Re: [WebDNA] ImageMagick (Donovan Brooke 2009)
  37. Re: [WebDNA] ImageMagick (lawrence@authorsimage.com 2009)
  38. Re: [WebDNA] ImageMagick (Tom Duke 2009)
  39. RE: [WebDNA] ImageMagick ("Michael A. DeLorenzo" 2009)
  40. Re: [WebDNA] ImageMagick (Tom Duke 2009)
  41. [WebDNA] ImageMagick (christophe.billiottet@webdna.us 2009)
--001636c5ad0d1c2a160461a0f272 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Ok, 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 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 = [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] --001636c5ad0d1c2a160461a0f272 Content-Type: text/html; charset=UTF-8 Content-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]


--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)