Re: [WebDNA] Image Magick and Webdna

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102885
interpreted = N
texte = --Apple-Mail-5-494261281 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Thanks Govinda, that is not the problem The oiginal paht was longer, =20 I don't know if it is a Webdna/IM proble, or just a IM problem [shell]/opt/local/bin/convert [MYIMAGE] [MYLOGO] -resize 50x50 -=20 compose [MYFINALIMAGE][/shell] This was the original exemple I found on the IM website $magick> composite -gravity center smile.gif rose: rose-over.png Then I found "Layering Images with Composite" I thought I got it! convert -size 100x100 xc:skyblue comp_resize.gif composite -geometry 16x16+10+55 shading.gif comp_resize.gif =20 comp_resize.gif So I tried [shell]/opt/local/bin/compose [MYIMAGE] composite -=20 geometry 40x40+5+10 [MYLOGO] [MYFINALIMAGE][/shell] But it never worked... I read that Webdna must have only spaces =20 bettewn the [shell][/shell] Then Somebody has certainly an exeperience with this... Le 10 juil. 09 =E0 16:23, Govinda a =E9crit : > see below > > On Jul 10, 2009, at 8:12 AM, Lawrence Banahan wrote: > >> 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) =20 >> and then to thumbnails (200 px). >> First the large files are resised to 1000px Widh, then I do the =20 >> 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 =20 >> logo on different image size, so I wish to change the logo size =20 >> deppending on the image size >> So I have been trying many things and thought that this would be =20 >> the right code, but it isn't!!! >> "Composite LogoSV_base.png -geometry 50x50 -gravity NorthWest -=20 >> append Sourcefoto.jpg myfinalephoto.jpg" >> >> I post a request on the Imagemagick Forum and had the following =20 >> answer : >> "convert backgroundimage \( logoimage -resize 50x50 \) -compose =20 >> over -composite" >> >> So with Webdna my code is as follow : >> [shell]/opt/local/bin/convert [MYIMAGE] [MYLOGO] -resize 50x50 -=20 >> compose [MYFINALIMAGE[/shell] > > I don't know your issue, but to start with you have a missing =20 > bracket here ^^^^^^^^^^^^^^^^^^^^^^^, just before the "[/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 > > ------------ > Govinda > govinda.webdnatalk@gmail.com > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ --Apple-Mail-5-494261281 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Thanks Govinda, that is not the probl= em The oiginal paht was longer, I don't=  know if it is a Webdna/IM proble, = ;or just a IM problem
[shell]/opt/local/bin/convert [MYIMAGE] = [MYLOGO] -resize 50x50 -compose = [MYFINALIMAGE][/shell]

This was the original exemple I found on the = IM website

$magick> = composite -gravity center smile.gif rose: = rose-over.png

Then I found "Layering Images with Composite" = I thought I got it!
convert -size 100x100 xc:skyblue = comp_resize.gif
  composite -geometry 16x16+10+55 = shading.gif comp_resize.gif comp_resize.gif

So I = tried [shell]/opt/local/bin/compose [MYIMAGE] composite = -geometry = 40x40+5+10 [MYLOGO] [MYFINALIMAGE][/shell]

But it never worked... I read that Webdna must have only spaces = bettewn the [shell][/shell]

Then Somebody has certainly an exeperience = with this...

Le 10 juil. 09 =E0 16:23, Govinda a = =E9crit :

see below

On Jul = 10, 2009, at 8:12 AM, Lawrence Banahan wrote:

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]
=

I don't know your issue, but to start with you have = a missing bracket here ^^^^^^^^^^^^^^^^^^^^^^^, just before the = "[/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

------------
Govinda

To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/l= ist/talk@webdna.us

= --Apple-Mail-5-494261281-- 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-5-494261281 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Thanks Govinda, that is not the problem The oiginal paht was longer, =20 I don't know if it is a Webdna/IM proble, or just a IM problem [shell]/opt/local/bin/convert [MYIMAGE] [MYLOGO] -resize 50x50 -=20 compose [MYFINALIMAGE][/shell] This was the original exemple I found on the IM website $magick> composite -gravity center smile.gif rose: rose-over.png Then I found "Layering Images with Composite" I thought I got it! convert -size 100x100 xc:skyblue comp_resize.gif composite -geometry 16x16+10+55 shading.gif comp_resize.gif =20 comp_resize.gif So I tried [shell]/opt/local/bin/compose [MYIMAGE] composite -=20 geometry 40x40+5+10 [MYLOGO] [MYFINALIMAGE][/shell] But it never worked... I read that Webdna must have only spaces =20 bettewn the [shell][/shell] Then Somebody has certainly an exeperience with this... Le 10 juil. 09 =E0 16:23, Govinda a =E9crit : > see below > > On Jul 10, 2009, at 8:12 AM, Lawrence Banahan wrote: > >> 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) =20 >> and then to thumbnails (200 px). >> First the large files are resised to 1000px Widh, then I do the =20 >> 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 =20 >> logo on different image size, so I wish to change the logo size =20 >> deppending on the image size >> So I have been trying many things and thought that this would be =20 >> the right code, but it isn't!!! >> "Composite LogoSV_base.png -geometry 50x50 -gravity NorthWest -=20 >> append Sourcefoto.jpg myfinalephoto.jpg" >> >> I post a request on the Imagemagick Forum and had the following =20 >> answer : >> "convert backgroundimage \( logoimage -resize 50x50 \) -compose =20 >> over -composite" >> >> So with Webdna my code is as follow : >> [shell]/opt/local/bin/convert [MYIMAGE] [MYLOGO] -resize 50x50 -=20 >> compose [MYFINALIMAGE[/shell] > > I don't know your issue, but to start with you have a missing =20 > bracket here ^^^^^^^^^^^^^^^^^^^^^^^, just before the "[/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 > > ------------ > Govinda > govinda.webdnatalk@gmail.com > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ --Apple-Mail-5-494261281 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Thanks Govinda, that is not the probl= em The oiginal paht was longer, I don't=  know if it is a Webdna/IM proble, = ;or just a IM problem
[shell]/opt/local/bin/convert [MYIMAGE] = [MYLOGO] -resize 50x50 -compose = [MYFINALIMAGE][/shell]

This was the original exemple I found on the = IM website

$magick> = composite -gravity center smile.gif rose: = rose-over.png

Then I found "Layering Images with Composite" = I thought I got it!
convert -size 100x100 xc:skyblue = comp_resize.gif
  composite -geometry 16x16+10+55 = shading.gif comp_resize.gif comp_resize.gif

So I = tried [shell]/opt/local/bin/compose [MYIMAGE] composite = -geometry = 40x40+5+10 [MYLOGO] [MYFINALIMAGE][/shell]

But it never worked... I read that Webdna must have only spaces = bettewn the [shell][/shell]

Then Somebody has certainly an exeperience = with this...

Le 10 juil. 09 =E0 16:23, Govinda a = =E9crit :

see below

On Jul = 10, 2009, at 8:12 AM, Lawrence Banahan wrote:

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]
=

I don't know your issue, but to start with you have = a missing bracket here ^^^^^^^^^^^^^^^^^^^^^^^, just before the = "[/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

------------
Govinda

To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/l= ist/talk@webdna.us

= --Apple-Mail-5-494261281-- 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:

RE: 2nd WebCatalog2 Feature Request (1996) Opening 'order file'. (1999) No Wanna Duppys (1998) File Upload and Platform (2001) Grep and Special Characters (2002) Images in WebCat (2000) Basics of tcpconnect (2006) I'm new be kind (1997) TaxTotal (2003) autocommit problem (1998) Duplicate Carts (2000) [WebDNA] PayPal Express Checkout (2009) Quickie question on the email templates (1997) [WebDNA] What Webcatalog with Itools?? (2008) WC2f3 (1997) PCS Frames (1997) Summing fields (1997) Adding freight and percentages (2000) For you Unix gurus [OT] (2002) Requiring that certain fields be completed (1997)