Jump to content

File:JPEG JFIF and 2000 Comparison.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (720 × 672 pixels, file size: 522 KB, MIME type: image/png)

Summary

Description
English: This image is a PNG for a comparison between JPEG (plain, JFIF) and JPEG 2000. I (Shlomi Tal) cut a chunk of the photo (576×224 out of the original 1024×768, to be exact) with the GIMP, then saved to PPM. I then generated a JPEG version of it with a quality of 30 (on the IJG scale), yielding a file size of 11,502 bytes, computed as approximately 1/33.65 of the size of the uncompressed image. After that, I generated a JPEG 2000 version with a compression ratio of 1:33.65, yielding a size of 11,406 bytes. Finally I converted both images to PPM, created the captions (144×224 each) for the three images, stitched them all into one image and converted them to PNG with 0.45455 gamma. With pngcrush I added the text chunks and optimised the file.

I chose quality 30 because compression artifacts are guaranteed at that compression level. The reference uncompressed image is from my camera in lossless mode. The PNG is not interlaced, for I deem interlacing fit only for critical images (such as image maps for navigation) or previewing (which on Wikimedia is taken care of by the thumbnails).

Addendum by BenRG: The original JPEG 2000 image appears to have been created by JasPer with rate=0.03. Kakadu produces a considerably different output at the same file size, with more blurring of prominent edges (e.g. the leaf near the bowl) and less blurring of subtler details. The original JPEG image is IJG quality 30 (with 2×2 chroma subsampling), as advertised, but it was apparently (based on the size) produced with the default Huffman tables instead of optimized tables. With optimized tables (cjpeg -q 30 -opt) the file size is significantly smaller (10,494 bytes). With arithmetic coding (which JPEG 2000 always uses), the file size is 9633 bytes, which is less than 85% of the size of the JPEG 2000 file with no change in quality.
Source Own work
Author Shlomital

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

image/png

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:39, 14 May 2023Thumbnail for version as of 19:39, 14 May 2023720 × 672 (522 KB)PhreneticcReduced file weight with FileOptimizer in lossless compression mode.
22:32, 3 January 2015Thumbnail for version as of 22:32, 3 January 2015720 × 672 (550 KB)BenRGThe JPEG quality in Nition1's version is far lower than it should be - see en:File talk:JPEG JFIF and 2000 Comparison.png
22:07, 27 December 2014Thumbnail for version as of 22:07, 27 December 2014720 × 672 (588 KB)Nition1It seemed like a mistake was made in the original upload of this image - the JPEG looked much better than it should have at an 11KiB file size and may have even been swapped accidentally with the JPEG 2000 example. I've recreated the JPEG and JPEG 200...
03:18, 19 January 2008Thumbnail for version as of 03:18, 19 January 2008720 × 672 (550 KB)CountingPineLosslessly reduce file size
18:40, 24 June 2006Thumbnail for version as of 18:40, 24 June 2006720 × 672 (571 KB)Shlomital~commonswikiComparison image for JPEG and JPEG 2000

The following page uses this file:

Global file usage

The following other wikis use this file: