Re: [WebDNA] Image Magick and Webdna
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102884
interpreted = N
texte = see belowOn 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------------Govindagovinda.webdnatalk@gmail.com
Associated Messages, from the most recent to the oldest:
see belowOn 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------------Govindagovinda.webdnatalk@gmail.com
Govinda
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 (1998)
[SearchString] problem with [search] context (1997)
Loop into field (1998)
&max= (2003)
Problems passing [SKU] with $Replace in 2.0 (1997)
New Line In grep (2003)
WebCat virtual postcard is done! Thanks for the help! (1998)
DrWatson Error! (1999)
select multiple (1997)
WebDNA dying or ... ? (2005)
Not really WebCat (1997)
DBServer.exe (2003)
Thanks for tips, more quest (1997)
pull downs (1997)
[WebDNA] anyone know why webdna kicking out incorrect dates? (2008)
Converting spaces to + in results list (SOLVED) (2000)
RE: Need Help (1998)
addlineitems (2003)
SKU (1997)
Not really WebCat (1997)