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=20 IM that will paste the logo over the image. Did=20 you try it as in the example they gave you over=20 on the IM list? Terry 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=20 size (1000px) and then to thumbnails (200 px). =46irst the large files are resised to 1000px Widh,=20 then I do the thumbnails and after I wish to past=20 the logo on the 1000px The difficult part is to change the logo size, I=20 want to past the logo on different image size, so=20 I wish to change the logo size deppending on the=20 image size So I have been trying many things and thought=20 that this would be the right code, but it isn't!!! "Composite LogoSV_base.png -geometry 50x50=20 -gravity NorthWest -append Sourcefoto.jpg=20 myfinalephoto.jpg" I post a request on the Imagemagick Forum and had the following answer : "convert backgroundimage \( logoimage -resize=20 50x50 \) -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 help Lawrence -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://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:

    
  1. Re: [WebDNA] Image Magick and Webdna (Terry Wilson 2009)
  2. Re: [WebDNA] Image Magick and Webdna (Stuart Tremain 2009)
  3. Re: [WebDNA] Image Magick and Webdna (Lawrence Banahan 2009)
  4. Re: [WebDNA] Image Magick and Webdna (Lawrence Banahan 2009)
  5. Re: [WebDNA] Image Magick and Webdna (Terry Wilson 2009)
  6. Re: [WebDNA] Image Magick and Webdna (Lawrence Banahan 2009)
  7. Re: [WebDNA] Image Magick and Webdna (Terry Wilson 2009)
  8. Re: [WebDNA] Image Magick and Webdna (Lawrence Banahan 2009)
  9. Re: [WebDNA] Image Magick and Webdna (Govinda 2009)
  10. [WebDNA] Image Magick and Webdna (Lawrence Banahan 2009)
You're missing -composite, which is the part of=20 IM that will paste the logo over the image. Did=20 you try it as in the example they gave you over=20 on the IM list? Terry 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=20 size (1000px) and then to thumbnails (200 px). =46irst the large files are resised to 1000px Widh,=20 then I do the thumbnails and after I wish to past=20 the logo on the 1000px The difficult part is to change the logo size, I=20 want to past the logo on different image size, so=20 I wish to change the logo size deppending on the=20 image size So I have been trying many things and thought=20 that this would be the right code, but it isn't!!! "Composite LogoSV_base.png -geometry 50x50=20 -gravity NorthWest -append Sourcefoto.jpg=20 myfinalephoto.jpg" I post a request on the Imagemagick Forum and had the following answer : "convert backgroundimage \( logoimage -resize=20 50x50 \) -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 help Lawrence -- Terry Wilson | terry@terryfic.com | http://terryfic.com http://WhosComing.com - a simplified, affordable online reservation system http://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:

syntax question, not in online refernce (1997) Spamming this list! (2000) [WebDNA] Mac OS X Server ("Maverick") - Not Authorized (2014) Database changes (1998) Setting up WebCatalog with Retail Pro data (1996) Smart caching problems with 2.1b3? (1997) table max? (2001) question: back button prevention (1997) unable to launch acgi in WebCat (1997) Re1000001: Setting up shop (1997) PSC recommends what date format yr 2000??? (1997) Progress !! WAS: Trouble with formula.db (1997) Browser Reloads and AddlineItem (1997) ALL CAPS converted to All Caps - first letter capitalizedonly (2002) docs for WebCatalog2 (1997) WebCat templates for TyphoonPro admin (1999) year 2000 + and webmerch, macauth? (1998) [WebDNA] V7 Download (2011) WCS Newbie question (1997) Problem with [isFile] [isFolder] (wc 3.0.4, iis 4) (1999)