Hi. What settings should I use to batch convert 300 jpegs to GIFs that have the following settings:
Batch convert jpegs to monochrome GIFs
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Batch convert jpegs to monochrome GIFs
try
Code: Select all
-colorspace gray +dither -colors 2 -auto-level
Re: Batch convert jpegs to monochrome GIFs
I get nothing but garbage no matter what I try. Can't believe this.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Batch convert jpegs to monochrome GIFs
What version of IM and platform? If an old version of IM, you might consider upgrading.
What was your exact command line?
This worked fine for me on IM 6.8.9.6 Q16 Mac OSX
What was your exact command line?
This worked fine for me on IM 6.8.9.6 Q16 Mac OSX
Code: Select all
convert rose: -colorspace gray +dither -colors 2 -auto-level rose_binary.gif
Re: Batch convert jpegs to monochrome GIFs
Downloaded it for the first time today off of ImageMagick's website. Seems like nothing works. For example, while the two example codes in this article produce new images and don't give me any errors, the specified image modifications are not performed: http://www.ioncannon.net/linux/81/5-ima ... es-part-1/
And the example (convert –resize 800x800 *.jpg) in this nice introductory guide produces the following error:
And as you can see, I need to move the images into ImageMagick's directory to get it to work at all, which is in contrast with the above tutorial as well as a youtube video I watched.
And the example (convert –resize 800x800 *.jpg) in this nice introductory guide produces the following error:
And as you can see, I need to move the images into ImageMagick's directory to get it to work at all, which is in contrast with the above tutorial as well as a youtube video I watched.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Batch convert jpegs to monochrome GIFs
Convert does not work this way. It requires one input and makes one output. If you want to process all files in a folder, then use mogrify.convert –resize 800x800 *.jpg
Code: Select all
convert input -resize 800x800 output
cd to some directory, then
Code: Select all
mogrify -resize 800x800 *.jpg
see
http://www.imagemagick.org/script/convert.php
http://www.imagemagick.org/script/mogrify.php
http://www.imagemagick.org/Usage/basics/#syntax
http://www.imagemagick.org/Usage/basics/#mogrify
For new users, see
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
http://www.imagemagick.org/script/comma ... -tools.php
http://www.imagemagick.org/Usage/windows/