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?".
homer
Posts: 1 Joined: 2014-08-12T22:07:05-07:00
Authentication code: 6789
Post
by homer » 2014-08-12T22:11:36-07:00
Good morning everybody,
I tried to use
Code: Select all
mogrify -extent 546x364 -gravity center -background black *.jpg
...but the background of the image is getting white. I tried also with
Code: Select all
mogrify -extent 546x364 -gravity center -fill "#000000" *.jpg
and with
Code: Select all
mogrify -extent 546x364 -gravity center -background "#000000" *.jpg
but without success; everytime the background color is getting white. Does anybody know what I'm doing wrong?
Thank you!
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2014-08-12T22:40:47-07:00
try putting the settings before the operators.
Code: Select all
mogrify -gravity center -background black -extent 546x364 *.jpg