Search found 5 matches
- 2014-07-30T05:29:50-07:00
- Forum: Users
- Topic: Target images over a certain file size (kb, etc.)
- Replies: 9
- Views: 2778
Re: Target images over a certain file size (kb, etc.)
That did it! Thanks to you both.
- 2014-07-29T11:43:33-07:00
- Forum: Users
- Topic: Target images over a certain file size (kb, etc.)
- Replies: 9
- Views: 2778
Re: Target images over a certain file size (kb, etc.)
Ok, I removed the IF statement and I have this: find . -name "*.jpg" -exec mogrify -size 100000 -define jpeg:extent=150kb -interlace line -quality 100 -strip -type TrueColor {} \; Maybe I'm just not seeing it, but how do I pass the actual file size in using -size? I tried what you see above, "-size ...
- 2014-07-29T11:28:39-07:00
- Forum: Users
- Topic: Target images over a certain file size (kb, etc.)
- Replies: 9
- Views: 2778
Re: Target images over a certain file size (kb, etc.)
Here's what I have so far. Running this is a bash window. if [ find . -name "*.jpg" -size +100000c ]; then -exec mogrify -define jpeg:extent=150kb -interlace line -quality 100 -strip -type TrueColor {} else -exec mogrify -interlace line -strip -type TrueColor {} \; I cobbled that together from your ...
- 2014-07-29T10:42:10-07:00
- Forum: Users
- Topic: Target images over a certain file size (kb, etc.)
- Replies: 9
- Views: 2778
Re: Target images over a certain file size (kb, etc.)
I figured that might be the answer. This sounds simple as stated, however I am having issues getting it working as I am newer to ImageMagick. Mind giving me a hand on the actual implementation?
- 2014-07-29T07:25:58-07:00
- Forum: Users
- Topic: Target images over a certain file size (kb, etc.)
- Replies: 9
- Views: 2778
Target images over a certain file size (kb, etc.)
I am using mogrify to process JPGs in a directory, however I only want to target JPG files that are at least 100kb in size. Having this run on already small JPEG files in the target directory isn't desired. I've searched and most everything I've seen has been in relation to image dimensions. This is ...