Noob question about commands: rose: vs rose.png

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
seanspotatobusiness
Posts: 8
Joined: 2013-11-19T05:23:43-07:00
Authentication code: 6789

Noob question about commands: rose: vs rose.png

Post 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 ?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

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

Post 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
seanspotatobusiness
Posts: 8
Joined: 2013-11-19T05:23:43-07:00
Authentication code: 6789

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

Post by seanspotatobusiness »

Thanks very much Bonzo :)
Post Reply