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:

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)