Page 1 of 1

Noob question about commands: rose: vs rose.png

Posted: 2014-02-25T08:39:23-07:00
by seanspotatobusiness
I'm trying to understand some commands on this page: http://www.imagemagick.org/Usage/compose/#hardlight

It says

Code: Select all

convert rose: -fill gray50 -colorize 100% \
          -raise 4 -normalize -blur 0x4  lighting_effect.png
  convert rose: lighting_effect.png \
          -compose hardlight -composite  compose_hardlight.png
and I assume that rose: refers to the rose image but then why is it referred to as rose: and not rose.png ?

Re: Noob question about commands: rose: vs rose.png

Posted: 2014-02-25T08:54:41-07:00
by Bonzo
rose: is an image built into Imagemagick so when discussing code people can use the same image to test.

Normaly you will be using your own image and would use the path to you image with it's extension e.g. rose.png

Re: Noob question about commands: rose: vs rose.png

Posted: 2014-02-25T09:16:42-07:00
by seanspotatobusiness
Thanks very much Bonzo :)