Re: OT ImageMagick and Thumbnails

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52814
interpreted = N
texte = convert with -geometry will resize. ----- Original Message ----- From: "Tim Robinson" To: "WebDNA Talk" Sent: Thursday, September 11, 2003 8:16 PM Subject: Re: OT ImageMagick and Thumbnails > I've done a search for jpegtran. Nothing. > > We're using mogrify for users who upload their own images and we make sure > they're converted to the correct size. > > Just reading about convert. Does that do the same thing? > > Tim > > > From: "WebDna @" > > Reply-To: (WebDNA Talk) > > Date: Thu, 11 Sep 2003 20:16:24 -0700 > > To: (WebDNA Talk) > > Subject: Re: OT ImageMagick and Thumbnails > > > > Do a search for it. It is available, but I try to avoid Windows servers so I > > cannot help. Sorry. > > > > Though the mogrify should work. Can I ask why you are resizing using the > > mogrify? > > > > I do a mogrify then I convert. > > > > [shell]/usr/local/bin/mogrify +profile "*" > > [owner]/[project]/[user]/uploads/[filename][/shell] > > [shell]/usr/local/bin/convert -geometry x104 > > [owner]/[project]/[user]/uploads/[filename] > > [owner]/[project]/[user]/thumbnails/[filename][/shell] > > > > as an example. Obviously the pathes are wrong. > > > > > > ----- Original Message ----- > > From: "Tim Robinson" > > To: "WebDNA Talk" > > Sent: Thursday, September 11, 2003 7:56 PM > > Subject: Re: OT ImageMagick and Thumbnails > > > > > >> Server is W2K. > >> > >> I put that +profile "*" into my mogrify command, but I didn't do the > > job... > >> mogrify -resize 500x335 +profile "*" +comment image.jpg > >> > >> That's why I was wondering if I need to use another command. Is jpegtran > >> only on Linux? > >> > >> Regards, > >> Tim > >> -- > >> Tim Robinson > >> IDFK Web Developments > >> tim@idfk.com.au > >> 114a/40 Yeo Street > >> Neutral Bay 2089 > >> Australia > >> Phone +612 9908 2134 > >> Fax +612 9908 4837 > >> > >>> From: "WebDna @" > >>> Reply-To: (WebDNA Talk) > >>> Date: Thu, 11 Sep 2003 19:59:08 -0700 > >>> To: (WebDNA Talk) > >>> Subject: Re: OT ImageMagick and Thumbnails > >>> > >>> Not sure the OS, but on linux you have jpegtran which I suggest using. > > It > >>> does not require opening the image to strip the data thus you do not > > lose > >>> any quality. On Os X you will need to install it. > >>> > >>> [shell]/ur/local/bin/jpegtran -copy none > >>> [owner]/[project]/[user]/uploads/[filename] > > >>> [owner]/[project]/[user]/uploads/[filename][/shell] > >>> > >>> though you can use mogrify to do this > >>> > >>> [shell]/usr/local/bin/mogrify +profile "*" > >>> [owner]/[project]/[user]/uploads/[filename][/shell] > >>> > >>> Note: you should check path to the mogrify or jpegtran command. > >>> > >>> ----- Original Message ----- > >>> From: "Tim Robinson" > >>> To: "WebDNA Talk" > >>> Sent: Thursday, September 11, 2003 7:14 PM > >>> Subject: OT ImageMagick and Thumbnails > >>> > >>> > >>>> Hi there, > >>>> > >>>> There was a recent discussion about images not appearin in PC IE6. > > We've > >>>> deteremined this is caused by the uploaded image having a thumbnail > > icon > >>>> with it. > >>>> > >>>> There should be a way to remove all these with mogrify. Here's what I > > have > >>>> now, but it's not working. > >>>> mogrify -resize 500x335 +profile "*" +comment image.jpg > >>>> > >>>> Do I need another command after mogrify or can I incorporate it in the > >>>> mogrify command? > >>>> > >>>> If anyone can tell me the correct string, it would be greatly > > appreciated. > >>>> > >>>> Regards, > >>>> Tim > >>>> -- > >>>> Tim Robinson > >>>> IDFK Web Developments > >>>> tim@idfk.com.au > >>>> 114a/40 Yeo Street > >>>> Neutral Bay 2089 > >>>> Australia > >>>> Phone +612 9908 2134 > >>>> Fax +612 9908 4837 > >>>> > >>>> > >>>> ------------------------------------------------------------- > >>>> 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/ > >> > >> > >> ------------------------------------------------------------- > >> 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/ > > > ------------------------------------------------------------- > 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: OT ImageMagick and Thumbnails ( "WebDna @" 2003)
  2. Re: OT ImageMagick and Thumbnails ( Tim Robinson 2003)
  3. Re: OT ImageMagick and Thumbnails ( Tim Robinson 2003)
  4. Re: OT ImageMagick and Thumbnails ( "WebDna @" 2003)
  5. Re: OT ImageMagick and Thumbnails ( "Gary Krockover" 2003)
  6. Re: OT ImageMagick and Thumbnails ( Tim Robinson 2003)
  7. Re: OT ImageMagick and Thumbnails ( "WebDna @" 2003)
  8. Re: OT ImageMagick and Thumbnails ( Tim Robinson 2003)
  9. Re: OT ImageMagick and Thumbnails ( "WebDna @" 2003)
  10. OT ImageMagick and Thumbnails ( Tim Robinson 2003)
convert with -geometry will resize. ----- Original Message ----- From: "Tim Robinson" To: "WebDNA Talk" Sent: Thursday, September 11, 2003 8:16 PM Subject: Re: OT ImageMagick and Thumbnails > I've done a search for jpegtran. Nothing. > > We're using mogrify for users who upload their own images and we make sure > they're converted to the correct size. > > Just reading about convert. Does that do the same thing? > > Tim > > > From: "WebDna @" > > Reply-To: (WebDNA Talk) > > Date: Thu, 11 Sep 2003 20:16:24 -0700 > > To: (WebDNA Talk) > > Subject: Re: OT ImageMagick and Thumbnails > > > > Do a search for it. It is available, but I try to avoid Windows servers so I > > cannot help. Sorry. > > > > Though the mogrify should work. Can I ask why you are resizing using the > > mogrify? > > > > I do a mogrify then I convert. > > > > [shell]/usr/local/bin/mogrify +profile "*" > > [owner]/[project]/[user]/uploads/[filename][/shell] > > [shell]/usr/local/bin/convert -geometry x104 > > [owner]/[project]/[user]/uploads/[filename] > > [owner]/[project]/[user]/thumbnails/[filename][/shell] > > > > as an example. Obviously the pathes are wrong. > > > > > > ----- Original Message ----- > > From: "Tim Robinson" > > To: "WebDNA Talk" > > Sent: Thursday, September 11, 2003 7:56 PM > > Subject: Re: OT ImageMagick and Thumbnails > > > > > >> Server is W2K. > >> > >> I put that +profile "*" into my mogrify command, but I didn't do the > > job... > >> mogrify -resize 500x335 +profile "*" +comment image.jpg > >> > >> That's why I was wondering if I need to use another command. Is jpegtran > >> only on Linux? > >> > >> Regards, > >> Tim > >> -- > >> Tim Robinson > >> IDFK Web Developments > >> tim@idfk.com.au > >> 114a/40 Yeo Street > >> Neutral Bay 2089 > >> Australia > >> Phone +612 9908 2134 > >> Fax +612 9908 4837 > >> > >>> From: "WebDna @" > >>> Reply-To: (WebDNA Talk) > >>> Date: Thu, 11 Sep 2003 19:59:08 -0700 > >>> To: (WebDNA Talk) > >>> Subject: Re: OT ImageMagick and Thumbnails > >>> > >>> Not sure the OS, but on linux you have jpegtran which I suggest using. > > It > >>> does not require opening the image to strip the data thus you do not > > lose > >>> any quality. On Os X you will need to install it. > >>> > >>> [shell]/ur/local/bin/jpegtran -copy none > >>> [owner]/[project]/[user]/uploads/[filename] > > >>> [owner]/[project]/[user]/uploads/[filename][/shell] > >>> > >>> though you can use mogrify to do this > >>> > >>> [shell]/usr/local/bin/mogrify +profile "*" > >>> [owner]/[project]/[user]/uploads/[filename][/shell] > >>> > >>> Note: you should check path to the mogrify or jpegtran command. > >>> > >>> ----- Original Message ----- > >>> From: "Tim Robinson" > >>> To: "WebDNA Talk" > >>> Sent: Thursday, September 11, 2003 7:14 PM > >>> Subject: OT ImageMagick and Thumbnails > >>> > >>> > >>>> Hi there, > >>>> > >>>> There was a recent discussion about images not appearin in PC IE6. > > We've > >>>> deteremined this is caused by the uploaded image having a thumbnail > > icon > >>>> with it. > >>>> > >>>> There should be a way to remove all these with mogrify. Here's what I > > have > >>>> now, but it's not working. > >>>> mogrify -resize 500x335 +profile "*" +comment image.jpg > >>>> > >>>> Do I need another command after mogrify or can I incorporate it in the > >>>> mogrify command? > >>>> > >>>> If anyone can tell me the correct string, it would be greatly > > appreciated. > >>>> > >>>> Regards, > >>>> Tim > >>>> -- > >>>> Tim Robinson > >>>> IDFK Web Developments > >>>> tim@idfk.com.au > >>>> 114a/40 Yeo Street > >>>> Neutral Bay 2089 > >>>> Australia > >>>> Phone +612 9908 2134 > >>>> Fax +612 9908 4837 > >>>> > >>>> > >>>> ------------------------------------------------------------- > >>>> 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/ > >> > >> > >> ------------------------------------------------------------- > >> 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/ > > > ------------------------------------------------------------- > 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/ "WebDna @"

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:

Re:Emailer and encryption (1997) Dismissing dialogs (was 2.1b3 --> way slow) (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) complex matrix pricing (2001) greater than or equal to (1997) Forcing Paragraph Breaks on Results (1998) [WebDNA] WebDNA.us site speed (2011) Document Contains No Data! (1997) requiring form fields? (2000) Emailer choke (1997) Emailer setup (1997) New Year Trigger Problem (2003) Making Thumbnail Graphics (1997) [browsername] not working? (1997) Fun with dates (1997) Banners (1997) PCS Frames (1997) Nested tags count question (1997) Search in 2 or more catalogs (1997) Was code to phantom spacing -- now BBEdit [!][/!] (2001)