Live data from Hacker News

Show HN: Jpeg.io – Convert any major image format into a highly optimized JPEG

jpeg.io

41–50 of 88 posts

Re: Show HN: Jpeg.io – Convert any major image format into a highly optimized JPEG

#41

Has anyone gotten it to accept a webp image as input? It threw 'Error while processing this file' for the ~10 files I attempted with. They were all created with cwebp and the photo preset. I was, of course, quite curious if it could improve upon file size, as that was the main reason I was using webp in the first place.

Worked for me with a file from Opera Turbo. The result was about two times bigger (as expected).

To make comparisons though, you shouldn't use webp as input, use original instead.

Re: Show HN: Jpeg.io – Convert any major image format into a highly optimized JPEG

#42
post #19
post #15

Did a quick comparison test with this beautiful piece of artwork I just created. original http://i.pi.gy/0K7d.png (2.1 MB) jpeg.io http://i.pi.gy/AP8v.jpg (102 KB) Photoshop 60% jpeg Export http://i.pi.gy/Wr4P.jpg (90 KB) tinypng.com http://i.pi.gy/ndKA.png (74 KB) Note pi.gy does not compress uploads.

Since he doesn't summarize the test above, let me. The jpeg.io result is bigger than the other two and noticeably worse quality. The problems were with the sharp lines. Perhaps jpeg.io specializes in photo-realistic pictures rather than graphics and logos.

Thats kind of what the format is for.

Re: Show HN: Jpeg.io – Convert any major image format into a highly optimized JPEG

#43
post #33
post #15

Did a quick comparison test with this beautiful piece of artwork I just created. original http://i.pi.gy/0K7d.png (2.1 MB) jpeg.io http://i.pi.gy/AP8v.jpg (102 KB) Photoshop 60% jpeg Export http://i.pi.gy/Wr4P.jpg (90 KB) tinypng.com http://i.pi.gy/ndKA.png (74 KB) Note pi.gy does not compress uploads.

I've cropped a section of your comparisons and made one extra one of my own which is using imageoptimise (190KB as was lossless compression) on the original image and scaled that section to 1024px on the long edge, saved them as a lossless tiff and uploaded back to pi.gy which as you said does not compress uploads. ... then I realised that pi.gy must not work properly with tiff's as although it appears to upload them…

I think you mixed up the cropped images. In the original post the one with visible artifacts (dots) is the Photoshop version, not jpeg.io.

Re: Show HN: Jpeg.io – Convert any major image format into a highly optimized JPEG

#44
post #15

Did a quick comparison test with this beautiful piece of artwork I just created. original http://i.pi.gy/0K7d.png (2.1 MB) jpeg.io http://i.pi.gy/AP8v.jpg (102 KB) Photoshop 60% jpeg Export http://i.pi.gy/Wr4P.jpg (90 KB) tinypng.com http://i.pi.gy/ndKA.png (74 KB) Note pi.gy does not compress uploads.

Use webp :)

Re: Show HN: Jpeg.io – Convert any major image format into a highly optimized JPEG

#45

Forgive me, but why on earth would I want to use JPG in the age of PNG?

Are you serious? A digital photo translated to PNG is going to be quite large. PNG has it's place, for sure, but it doesn't compress photographs like JPEG does. PNG is great for line art, solid color vector that has been rasterized, etc. JPG is great for photos.

>Are you serious?

Perfectly. I'm not very familiar with image compression and JPEG conjures up images of pixellated atrocities.

It seems like either progress has been made in this domain or most JPEG encoders on the internet are poorly configured (in which case the present webapp makes sense).

Re: Show HN: Jpeg.io – Convert any major image format into a highly optimized JPEG

#46
post #15

Did a quick comparison test with this beautiful piece of artwork I just created. original http://i.pi.gy/0K7d.png (2.1 MB) jpeg.io http://i.pi.gy/AP8v.jpg (102 KB) Photoshop 60% jpeg Export http://i.pi.gy/Wr4P.jpg (90 KB) tinypng.com http://i.pi.gy/ndKA.png (74 KB) Note pi.gy does not compress uploads.

I really wish people would stop using chroma sub-sampling in lieu of compression. It barely made sense when transmitting analog signals, and it definitely doesn't make sense now.

Can you elaborate on your comment? I'm genuinely curious. :)

Re: Show HN: Jpeg.io – Convert any major image format into a highly optimized JPEG

#48
post #34
post #8

Earlier quoted context omitted.

Pretty much everywhere where you're not forced to use PNG. JPEG is significantly smaller and on most devices faster to decode.

It totally depends on the situation, JPEG isn't always smaller, and it's lossy unlike PNG. Flat colour images like logos will be smaller as PNG, and look better too. PNGs also support transparency.

Yes, this is kinda what I mean with "where you're not forced to use PNG". If you need transparency or you have tiny flat colored icons, PNG is better. For any kind of complex images JPEG tends to be even 10x or so smaller.

Re: Show HN: Jpeg.io – Convert any major image format into a highly optimized JPEG

#49

Earlier quoted context omitted.

I really wish people would stop using chroma sub-sampling in lieu of compression. It barely made sense when transmitting analog signals, and it definitely doesn't make sense now.

Can you elaborate on your comment? I'm genuinely curious. :)

When people were devising ways to transmit television signals they had only limited available bandwidth, and since everything was analog compression wasn't feasible. So they did everything they could to minimize the information that needed to be transmitted.

They interlaced the signal, so every frame only had half as much pixels. They also split the signal in chroma and luma (basically colour and brightness, respectively) and then lowered the resolution of the chroma with the justification that the human eye is far more sensitive to differences in brightness than differences in colour. This 'subsampled' chroma should then be interpolated at the receiving end (something which many video players don't do or do badly).

Now at the time this made sense, since it was really the best they could do with no sophisticated ways of compressing images. However as this image demonstrates the human eye can definitely notice differences in colour in some cases. And with digital compression it's no longer true that 4x fewer pixels also means 4x fewer data, so while the decision to compress chroma more heavily might make sense, doing this by artificially lowering the resolution does not.

However for some reason chroma subsampling is still used everywhere; it's one of the many leftovers from the days that video signals were completely analog and only displayed on CRTs.

Post reply on HN