Impressive JPEG Recompression
jpegmini.com
jpegmini.com
When working on this problem, I noticed that all digital cameras create jpeg with 422 sampling. This might be a religious topic for some, but I cannot see any visual difference between 4:2:2 and 4:2:0, even with high magnification or on physical prints as large as 30 inch height. Simply sub-sampling to 4:2:0 along with subtle tweaks to quantization tables and with little effort we'd bring a typical jpeg from 1-2MB down to 300-400KB.
We even did a series of experiments with people who look at photo prints all day and they could not reliably pick the 'recompressed' images.
The only reason I think people really hold on to 422 or even 444 is that when subsampling you can get nasty amplified errors if you are using two tools that sampling with different algorithms or from different siting (i.e. imaging if one tool picked odd lines and one picked even). Although the spec specifies siting, I think there are still people who do it wrong, not to mention there is still leeway for interpretation on how pixels are averaged for siting that is not on a pixel boundary.
Bottom line is that if you know exactly what you are going to do with the photo in the future you can compress a lot and quite easily with little risk. If you have a lot of unknown processing in the future, things can get dicey.
It shrunk it 1.5x. I downloaded the _mini version and could see more artifacts in the rendering of some of the smooth surfaces.
Then I re-uploaded the _mini version to jpegmini. It shrunk it 1.3x. This shows that they are reducing quality, not just optimizing.
More interesting would be blind comparison experiment with with imagemagick compressed images with similar compression ratio. I'd be surprised if they could get 25-50% better compression with similar quality images.
14 patents for one algorithm??? Somebody lost their mind, I worked on a camera lens that had 10 elements and less patents than that. Craziness.
Also, the service itself is underwhelming - it does next to nothing on JPEGs that are already optimized.
http://web_design.reddit.com/comments/jdo4v/_/c2balp2
> barfolomew 13 points 20 days ago
> In my experience, one should stay away from Israeli tech startups. They're often very aggressive and fly-by-night operations. The culture clash between a north american firm is hard to deal with.
Is this really the case?
That said, regarding Israeli companies, I personally object to Israeli companies that operate from illegal Israeli settlements in the occupied Palestinian territories, such as SodaStream and Ahava Cosmetics. SodaStream is particularly bad in that it produces its goods using underpaid Palestinian labor but market's its products as made in Israel.
SodaStream details: http://www.whoprofits.org/articlefiles/WhoProfits-Production...
I run as little flash as possible these days, security, tracking etc.
Aha! Look what I discovered:
http://www.jpegmini.com/main/shrink_photo?no_flash=1
There have been a dozen jpeg reduction attempts over the years, curious to play with this one. Lossless jpeg cropping fascinates me more though.
EDIT: Yep, looks like you can only crop it along the DCT block boundaries:
Better JPEG sells a library, Photoshop plugin, and (relatively simple) standalone program that allow lossless editing (only changed blocks are recompressed). http://www.betterjpeg.com/
It does some quite evil things with progressive Huffman coding that most people didn't even realize was possible.
He/She is BeInSync founder and VP R&D
https://groups.google.com/a/webmproject.org/group/webp-discu...
> The resulting image has way less detail in higher frequencies.
But the compressed version actually exposes more detail.
No. It really doesn't.
It adds a couple of visual filters (brightening, sharpening) before recompressing, but these don't "expose more detail", but rather all three steps actually introduce additional errors. Errors that trick they eye into seeing a "better" image, but errors nonetheless.
Are you attached to JPEGmini? If so, would you be willing to bet that I cannot tell if a photo of my choice has gone through your system and been compressed?
I'd like to run it through errorlevelanalysis.com but their service seem to be down.
I suspect it tries to raise the brightness and sharpness of certain pixels before compressing it further so "important" elements stay in detail. What was done to your image though looks nothing like the quality of their examples for the ship, etc.
That's not a good thing, to my way of thinking. When I'm processing my photos, I'm choosing very carefully the amount of sharpness and especially contrast in the image. I'd be very unhappy with a tool that alters these.
> there doesn't appear to be no quality loss, even
> on the smallest details
I do not think that means what you think it means.http://spie.org/x648.html?product_id=872231
http://spie.org/x648.html?product_id=872230
from SPIE Electronic Imaging 2011 conference in San Francisco
I also love the sense of humor. "SEEMS YOUR PHOTO LOST SOME WEIGHT!"
Isn't really worth the effort.
Must be a good chunk of change behind it.
Good job!
99k -> 71k is not usefully presented as 1.4x, but better as ~30%
All these posts "whoa I compressed my 1MB image to 400KB" are laughable. It's not like it's lossless.