[WebDNA] Image Magick and Webdna

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102883
interpreted = N
texte = --Apple-Mail-4-492499858 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi, I'm using ImageMagick for the first time. I'm trying to past a logo on images I'm converting Very large images (55mb) to medium size (1000px) and then to thumbnails (200 px). First the large files are resised to 1000px Widh, then I do the thumbnails and after I wish to past the logo on the 1000px The difficult part is to change the logo size, I want to past the logo on different image size, so I wish to change the logo size deppending on the image size So I have been trying many things and thought that this would be the right code, but it isn't!!! "Composite LogoSV_base.png -geometry 50x50 -gravity NorthWest -append Sourcefoto.jpg myfinalephoto.jpg" I post a request on the Imagemagick Forum and had the following answer : "convert backgroundimage \( logoimage -resize 50x50 \) -compose over - composite" So with Webdna my code is as follow : [shell]/opt/local/bin/convert [MYIMAGE] [MYLOGO] -resize 50x50 - compose [MYFINALIMAGE[/shell] Has any one an idea where I get wrong? How can I set ONLY the size of the Logo file? Thanks in advance for your help Lawrence --Apple-Mail-4-492499858 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=US-ASCII Hi,

I'm = using ImageMagick for the first time.
I'm trying to past a logo on images
I'm converting Very large images = (55mb) to medium size (1000px) and then to thumbnails (200 = px).
First the large files are resised = to 1000px Widh, then I do the thumbnails and after I wish to past the = logo on the 1000px
The difficult part = is to change the logo size, I want to past the logo on different image = size, so I wish to change the logo size deppending on the image = size 
So I have been trying many things = and thought that this would be the right code, but it = isn't!!!
"Composite LogoSV_base.png = -geometry 50x50 -gravity NorthWest -append Sourcefoto.jpg = myfinalephoto.jpg"

I post a request on the Imagemagick Forum and had the following = answer :
"convert backgroundimage \( logoimage -resize = 50x50 \) -compose over -composite"

So with Webdna my code is as follow = :
[shell]/opt/local/bin/convert = [MYIMAGE] [MYLOGO] -resize 50x50 = -compose [MYFINALIMAGE[/shell]

Has any one an idea where I get = wrong?

How can I set ONLY the size of the Logo file?

Thanks in advance for your = help
Lawrence
= --Apple-Mail-4-492499858-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Image Magick and Webdna (Terry Wilson 2009)
  2. Re: [WebDNA] Image Magick and Webdna (Stuart Tremain 2009)
  3. Re: [WebDNA] Image Magick and Webdna (Lawrence Banahan 2009)
  4. Re: [WebDNA] Image Magick and Webdna (Lawrence Banahan 2009)
  5. Re: [WebDNA] Image Magick and Webdna (Terry Wilson 2009)
  6. Re: [WebDNA] Image Magick and Webdna (Lawrence Banahan 2009)
  7. Re: [WebDNA] Image Magick and Webdna (Terry Wilson 2009)
  8. Re: [WebDNA] Image Magick and Webdna (Lawrence Banahan 2009)
  9. Re: [WebDNA] Image Magick and Webdna (Govinda 2009)
  10. [WebDNA] Image Magick and Webdna (Lawrence Banahan 2009)
--Apple-Mail-4-492499858 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi, I'm using ImageMagick for the first time. I'm trying to past a logo on images I'm converting Very large images (55mb) to medium size (1000px) and then to thumbnails (200 px). First the large files are resised to 1000px Widh, then I do the thumbnails and after I wish to past the logo on the 1000px The difficult part is to change the logo size, I want to past the logo on different image size, so I wish to change the logo size deppending on the image size So I have been trying many things and thought that this would be the right code, but it isn't!!! "Composite LogoSV_base.png -geometry 50x50 -gravity NorthWest -append Sourcefoto.jpg myfinalephoto.jpg" I post a request on the Imagemagick Forum and had the following answer : "convert backgroundimage \( logoimage -resize 50x50 \) -compose over - composite" So with Webdna my code is as follow : [shell]/opt/local/bin/convert [MYIMAGE] [MYLOGO] -resize 50x50 - compose [MYFINALIMAGE[/shell] Has any one an idea where I get wrong? How can I set ONLY the size of the Logo file? Thanks in advance for your help Lawrence --Apple-Mail-4-492499858 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=US-ASCII Hi,

I'm = using ImageMagick for the first time.
I'm trying to past a logo on images
I'm converting Very large images = (55mb) to medium size (1000px) and then to thumbnails (200 = px).
First the large files are resised = to 1000px Widh, then I do the thumbnails and after I wish to past the = logo on the 1000px
The difficult part = is to change the logo size, I want to past the logo on different image = size, so I wish to change the logo size deppending on the image = size 
So I have been trying many things = and thought that this would be the right code, but it = isn't!!!
"Composite LogoSV_base.png = -geometry 50x50 -gravity NorthWest -append Sourcefoto.jpg = myfinalephoto.jpg"

I post a request on the Imagemagick Forum and had the following = answer :
"convert backgroundimage \( logoimage -resize = 50x50 \) -compose over -composite"

So with Webdna my code is as follow = :
[shell]/opt/local/bin/convert = [MYIMAGE] [MYLOGO] -resize 50x50 = -compose [MYFINALIMAGE[/shell]

Has any one an idea where I get = wrong?

How can I set ONLY the size of the Logo file?

Thanks in advance for your = help
Lawrence
= --Apple-Mail-4-492499858-- Lawrence Banahan

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:

Summary search -- speed (1997) RE:DatabaseHelper (1997) Execute Applescript (1997) ShowIf inside formulas (1997) Stinkin' [Referrer] (1998) WebCat2.0 [format thousands .0f] no go (1997) blank page from template (1997) [WebDNA] [announce] WebDNA Site and Store (2008) Exclamation point (1997) Payments -> Bank Accounts (2005) Apologies to the LIST (2002) Click-through/Referral tracking solution needed (2000) wrong authentication (1998) Cart creation techniques (was Problems with Price field) (1997) Not really WebCat- (1997) [WebDNA] PayPal Integration (2017) Webcat no longer supported? (2006) WebCatalog can't find database (1997) Snake Bites (1997) Bookmarked URL with cart (1998)