Search found 6 matches

by cyttorak
2017-04-29T14:38:26-07:00
Forum: Users
Topic: "Optimized" image heavier (bigger file size) than the original
Replies: 14
Views: 10157

Re: "Optimized" image heavier (bigger file size) than the original

But 02-CROP.jpg would have a file size smaller than original.jpg, now that I'm croping in 16x16 blocks, or not?
by cyttorak
2017-04-29T14:06:37-07:00
Forum: Users
Topic: "Optimized" image heavier (bigger file size) than the original
Replies: 14
Views: 10157

Re: "Optimized" image heavier (bigger file size) than the original

you set it after doing the trim, so it has no effect. Thanks. That is u@h ~/d $ convert original.jpg -strip +repage -fuzz 600 -trim -format "%wx%h+%[fx:page.x]+%[fx:page.y]\n" info: 3562x8221+240+139 u@h ~/d $ convert original.jpg -strip +repage -fuzz 600 -format "%@\n" info: 3562x8221+240+139 So i...
by cyttorak
2017-04-29T13:25:45-07:00
Forum: Users
Topic: "Optimized" image heavier (bigger file size) than the original
Replies: 14
Views: 10157

Re: "Optimized" image heavier (bigger file size) than the original

You could find the trim dimensions using %@ in string formats (see http://www.imagemagick.org/script/escape.php) and put it into variables. Then compute the next smaller multiple of 8 and use those with -crop Ok, I have been reading http://www.imagemagick.org/discourse-server/viewtopic.php?t=30761 ...
by cyttorak
2017-04-28T02:41:08-07:00
Forum: Users
Topic: "Optimized" image heavier (bigger file size) than the original
Replies: 14
Views: 10157

Re: "Optimized" image heavier (bigger file size) than the original

Also bear in mind that when the -trim operation doesn't cut off an exact multiple of 8 columns or 8 rows, the image gets re-quantized into new 8x8 blocks (or 16x16 blocks, if sub-sampling), which can cause new colors to be created (by default, sub-sampling happens when the requested quality is less...
by cyttorak
2017-04-26T11:44:15-07:00
Forum: Users
Topic: "Optimized" image heavier (bigger file size) than the original
Replies: 14
Views: 10157

Re: "Optimized" image heavier (bigger file size) than the original

fmw42 wrote:
2017-04-26T11:04:41-07:00
Your original image has quality 69. In your command set the quality the same just before writing the output jpg. Does that help?
In my examples, commands without -quality parameter preserve the quality 69. Also there is a example with -quality 60.
isn't it what you mean?
by cyttorak
2017-04-26T10:27:48-07:00
Forum: Users
Topic: "Optimized" image heavier (bigger file size) than the original
Replies: 14
Views: 10157

"Optimized" image heavier (bigger file size) than the original

Hello I'm trying trim and optimize this image this image http://www.revista.lamarea.com/wp-content/uploads/2017/03/h.jpg without resizing or changing his format but most of times I got a heavier image. This is the image (I have renamed it as original.jpg): u@h ~/d $ wget http://www.revista.lamarea.c...