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:
select multiple (1997)
Re1000001: Setting up shop (1997)
setting taxable to true (1997)
Showing unopened cart (1997)
WebCat2 several catalogs? (1997)
[convertchars] problem... (2000)
[isfile] ? (1997)
Customer - again (1998)
Autonumber in Table (2006)
simple answer? [hideif] (1997)
psst (1997)
[WebDNA] Displaying age (2010)
Problems with command=replace in realm (2000)
WebCat2 - storing unformatted date data? (1997)
New WebMerchant/Mac beta available (1997)
[WebDNA] Old carts not deleting (2015)
Multiple fields on 1 input (1997)
Quitting WebMerchant ? (1997)
Calendar (1997)
Claris HomePage messes up the code (1997)