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:
Great product and great job ! (1997)
Admin Edit prob. (1997)
ShowNext Page Style (2003)
[include ...] behavior (1997)
WebCat2: multiple currency support (1997)
Friendly , quick 'security' check, please (2003)
Editing two databases in one form using [replace]? (1998)
Help! WebCat2 bug (1997)
Need help with emailer- 2 issues (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
Locking up with WebCatalog... (1997)
NT vs Mac (1997)
Template Encryption (1998)
Multi-pay? (2003)
Setting up the server (1997)
Add a field to the error log? (1997)
Forumulas.db & Variables (2002)
Practice runs ? (1997)
weird G3 happenings (1998)
name of file (2002)