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:
5.0 Pricing (2003)
[WebDNA] Creating XML on the fly (2011)
Summing fields (1997)
Re:no template caching (1997)
Doing VALIDCARD right? (1998)
Can you do this??? and other stuff (1997)
using showpage and showcart commands (1996)
HTML Editors (1997)
Sales Tax db (1998)
Error:Too many nested [xxx] contexts (1997)
Next (1997)
Resume Catalog ? (1997)
WebCat2: Items xx to xx shown, etc. (1997)
UPS Tools (2000)
ListWords passing multi values in one form field (2000)
MacWEEK article help needed (1996)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Removing [showif] makes a big difference in speed (1997)
Help! WebCat2 bug (1997)
WebCat2 several catalogs? (1997)