(mogrify -resize 100% -filter Triangle .etc. *.jpg ).. doesn't work

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
cyberbob
Posts: 2
Joined: 2016-04-14T01:47:14-07:00
Authentication code: 1151

(mogrify -resize 100% -filter Triangle .etc. *.jpg ).. doesn't work

Post by cyberbob »

Hi all,
with IMAGEMAGICK, I have found and tested with success this string.
(with resize 100% NO resize pixels image is done but a very high Mbyte compression is done!)

"mogrify -resize 100% -filter Triangle -define filter:support=2 -unsharp 0.25x0.25+8+0.065 -dither None -posterize 136 -quality 82 -define jpeg:fancy-upsampling=off -interlace none -colorspace sRGB *.jpg"

Apply this string on A SINGLE IMAGE, all works good, but with *.jpg option, the computer starts to work, the process is working in the system, but after many minutes, NO output is generated, neather one file is changed, as the process is working bad.

Does anyone have an idea or a solutiuon? (I'm using Linux Mint MATE 17.3 64bit)
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: (mogrify -resize 100% -filter Triangle .etc. *.jpg ).. doesn't work

Post by snibgo »

I would do it with convert, in a shell script loop.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: (mogrify -resize 100% -filter Triangle .etc. *.jpg ).. doesn't work

Post by fmw42 »

Mogrify is probably less functional than convert and may not have built-in all the newer functions that convert can do. Perhaps that is the reason. So do as user snibgo says and see if you can get it to work with convert loop. Also the -filter and -defines for filter should probably go before the -resize, since resize needs to know about them before it does its processing. See if that helps.

Also you don't mention your IM version or platform. Please always provide that information.
Post Reply