简体   繁体   中英

jpg won't optimize (jpegtran, jpegoptim)

I have an image and it's a jpg.

I tried running through jpegtran with the following command:

$ jpegtran -copy none -optimize image.jpg > out.jpg

The file outputs, but the image seems un-modified (no size change)

I tried jpegoptim:

$ jpegoptim image.jpg
image.jpg 4475x2984 24bit P JFIF  [OK] 1679488 --> 1679488 bytes (0.00%), skipped.                                                                

I get the same results when I use --force with jpegoptim except it reports that it's optimized but there is no change in file size

Here is the image in question: http://i.imgur.com/NAuigj0.jpg

But I can't seem to get it to work with any other jpegs I have either (only tried a couple though).

Am I doing something wrong?

I downloaded your image from imgur, but the size is 189,056 bytes. Is it possible that imgur did something to your image?

Anyway, I managed to optimize it to 165,920 bytes using Leanify (I'm the author) and it's lossless.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM