Re: ImageMagick Commands?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52026
interpreted = N
texte = Hi Matthew, This converts an image from into a thumbnail. It takes the image from the variable [text]picname[/text].[uploadPicExt] and converts it into a 100x100 thumbnail .gif image. The first 100x100 tells ImageMagick to be prepared to convert into a 100x100 image. The second 100x100 tells ImageMagick to actually resize the image but not wider or taller than 100 pixels in either direction. The first path is where it finds the image which must be manipulated. The second path is where the new image must be saved. Please remake the path to match your computer. [shell]/sw/bin/convert -size 100x100 /Applications/4DWebSTAR/WebServer/macnyt2002/gallery/images/picUploads/ [text]picname[/text].[uploadPicExt] -resize 100x100 +profile "*" /Applications/4DWebSTAR/WebServer/macnyt2002/gallery/images/thumbnail/ [text]picname[/text].gif[/shell] Hope it will kick-start you. I have more code for you if you want. Palle On torsdag, jul 31, 2003, at 19:59 Europe/Copenhagen, Matthew Bohne wrote: > Just installed ImageMagick. Now how the heck do I use it? It's on an > OSX server with WebDNA 4.5.1 > > I just need a command list or a basic tutorial page to get started. > > Basically, I'm uploading a photo, resizing it twice to two different > files, getting the IPTC headers and writing them to a db. > > So far I'm as far as: > > [shell] > > > > [/shell] > > Please help or point me to the right docs to help. Thank You. > > -- > Matthew C. Bohne > Web Developer > Sandusky Register > 314 W. Market St. > Sandusky, OH 44870 > 419-625-5500 ext. 253 > matthewbohne@sanduskyregister.com > http://www.sanduskyregister.com > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: ImageMagick Commands? ( Paul Willis 2003)
  2. Re: ImageMagick Commands? ( Matthew Bohne 2003)
  3. Re: ImageMagick Commands? ( Charles Kline 2003)
  4. Re: ImageMagick Commands? ( Palle Bo Nielsen 2003)
  5. ImageMagick Commands? ( Matthew Bohne 2003)
Hi Matthew, This converts an image from into a thumbnail. It takes the image from the variable [text]picname[/text].[uploadPicExt] and converts it into a 100x100 thumbnail .gif image. The first 100x100 tells ImageMagick to be prepared to convert into a 100x100 image. The second 100x100 tells ImageMagick to actually resize the image but not wider or taller than 100 pixels in either direction. The first path is where it finds the image which must be manipulated. The second path is where the new image must be saved. Please remake the path to match your computer. [shell]/sw/bin/convert -size 100x100 /Applications/4DWebSTAR/WebServer/macnyt2002/gallery/images/picUploads/ [text]picname[/text].[uploadPicExt] -resize 100x100 +profile "*" /Applications/4DWebSTAR/WebServer/macnyt2002/gallery/images/thumbnail/ [text]picname[/text].gif[/shell] Hope it will kick-start you. I have more code for you if you want. Palle On torsdag, jul 31, 2003, at 19:59 Europe/Copenhagen, Matthew Bohne wrote: > Just installed ImageMagick. Now how the heck do I use it? It's on an > OSX server with WebDNA 4.5.1 > > I just need a command list or a basic tutorial page to get started. > > Basically, I'm uploading a photo, resizing it twice to two different > files, getting the IPTC headers and writing them to a db. > > So far I'm as far as: > > [shell] > > > > [/shell] > > Please help or point me to the right docs to help. Thank You. > > -- > Matthew C. Bohne > Web Developer > Sandusky Register > 314 W. Market St. > Sandusky, OH 44870 > 419-625-5500 ext. 253 > matthewbohne@sanduskyregister.com > http://www.sanduskyregister.com > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Palle Bo Nielsen

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:

E-mail loop ! (1997) relational db question (2002) Search design (1997) simple answer? [hideif] (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) Time Display from Database (1997) ExclusiveLock (2003) Multiple security dbs (1997) Group search doesn't work. (1997) could someone please try this - it's very quick and easy (2000) More on the email templates (I like it) (1997) [WriteFile] problems (1997) Store Admin Problems (1999) Credit card processing - UK (1997) [OT] How'd it go, Sal? (2006) RE: Emailer prefs in two places ... (1997) Problem with empty form-variables in [search] (1998) PCS Customer submissions ? (1997) I'm new be kind (1997) Next (1997)