Re: [WebDNA] Image Magick and Webdna
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102886
interpreted = N
texte = You're missing -composite, which is the part of=20IM that will paste the logo over the image. Did=20you try it as in the example they gave you over=20on the IM list?TerryHi,I'm using ImageMagick for the first time.I'm trying to past a logo on imagesI'm converting Very large images (55mb) to medium=20size (1000px) and then to thumbnails (200 px).=46irst the large files are resised to 1000px Widh,=20then I do the thumbnails and after I wish to past=20the logo on the 1000pxThe difficult part is to change the logo size, I=20want to past the logo on different image size, so=20I wish to change the logo size deppending on the=20image sizeSo I have been trying many things and thought=20that this would be the right code, but it isn't!!!"Composite LogoSV_base.png -geometry 50x50=20-gravity NorthWest -append Sourcefoto.jpg=20myfinalephoto.jpg"I post a request on the Imagemagick Forum and had the following answer :"convert backgroundimage \( logoimage -resize=2050x50 \) -compose over -composite"So with Webdna my code is as follow :[shell]/opt/local/bin/convert=20[MYIMAGE]=A0[MYLOGO]=A0-resize 50x50=20-compose=A0[MYFINALIMAGE[/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 helpLawrence-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Associated Messages, from the most recent to the oldest:
You're missing -composite, which is the part of=20IM that will paste the logo over the image. Did=20you try it as in the example they gave you over=20on the IM list?TerryHi,I'm using ImageMagick for the first time.I'm trying to past a logo on imagesI'm converting Very large images (55mb) to medium=20size (1000px) and then to thumbnails (200 px).=46irst the large files are resised to 1000px Widh,=20then I do the thumbnails and after I wish to past=20the logo on the 1000pxThe difficult part is to change the logo size, I=20want to past the logo on different image size, so=20I wish to change the logo size deppending on the=20image sizeSo I have been trying many things and thought=20that this would be the right code, but it isn't!!!"Composite LogoSV_base.png -geometry 50x50=20-gravity NorthWest -append Sourcefoto.jpg=20myfinalephoto.jpg"I post a request on the Imagemagick Forum and had the following answer :"convert backgroundimage \( logoimage -resize=2050x50 \) -compose over -composite"So with Webdna my code is as follow :
[shell]/opt/local/bin/convert=20[MYIMAGE]=A0[MYLOGO]=A0-resize 50x50=20-compose=A0[MYFINALIMAGE[/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 helpLawrence-- Terry Wilson | terry@terryfic.com | http://terryfic.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://TightJacket.com -- stylish protection for your laptop--------------------------------------------------------------------------Attitude is the only difference between ordeal and adventure.
Terry Wilson
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:
updating with ProductEditor (1998)
Garbage files created (2000)
SSL Config for Webten on Mac (1998)
STRANGE (2001)
Emailer Error: 158 (2003)
WebCat2: Items xx to xx shown, etc. (1997)
[ConvertChars] problem (1997)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
test (1999)
[time] math Q (2003)
executing via commandline (2003)
Problem in 4.0 store thankyou page (2000)
test7 (2000)
listfile options (1997)
no global [username] or [password] displayed ... (1997)
OSX 10.2.6/iTools 7.0/WebDNA 5.0 installation (2003)
How to implement 'email to a friend' feature? (2002)
Cookies (1999)
Help formatting search results w/ table (1997)
Protect and Serve (1999)