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:
[WebDNA] if - combining OR and AND (2008)
customizing the color of user's pages (1997)
ASCII Code 127 (2004)
If Empty ? (1997)
Search results templates (1996)
WebCat2.0 [format thousands .0f] no go (1997)
&max= (2003)
[WebDNA] Can I do something with webdna to pass-protect an attempt to access a swf file directly? (2009)
Table code broken? (2004)
charging? (2001)
block serving .db files (2002)
Thanks Grant (1997)
Part Html part WebDNA (1997)
[WebDNA] another test post (2014)
PCS Frames (1997)
re: sorting and summarizing (1998)
WebCat2b12 forgets serial # (1997)
Directory Traversal (2007)
Re:quit command on NT (1997)
Items XX to XX shown (1997)