File:Phalaenopsis 5kB.jpg
Phalaenopsis_5kB.jpg (240 × 214 pixels, file size: 5 KB, MIME type: image/jpeg)
Captions
Captions
Summary
[edit]DescriptionPhalaenopsis 5kB.jpg | A picture of a flower (Phalaenopsis_(aka).jpg by André Karwath) compressed with successively higher loss JPEG compression ratios from left to right. |
Date | 19 May 2006 (original upload date) |
Source | No machine-readable source provided. Own work assumed (based on copyright claims). |
Author | No machine-readable author provided. Ilmari Karonen assumed (based on copyright claims). |
Technical details
[edit]The image was produced by first scaling down the original picture in the GIMP and using ImageMagick convert to cut it into 8 pixel wide slices, which were each compressed at different quality levels using Perl and cjpeg and recombined with ImageMagick montage. The exact commands used were:
$ convert -crop 8x214 +adjoin Phalaenopsis_\(aka\).240x214.png Phalaenopsis_test_%02d.ppm $ perl -e 'for $n (0..29) { system sprintf "cjpeg -optimize -sample 1x1 -dct float -quality %f Phalaenopsis_test_%02d.ppm >Phalaenopsis_test_%02d.jpg", 2+78*(1-$n/29)**2.3, $n, $n;}' $ montage +frame +shadow +label -tile 30x1 -geometry 8x214+0+0 -quality 80 Phalaenopsis_test_??.jpg Phalaenopsis_JPEG.jpg
The expression 2+78*(1-$n/29)**2.3
produces a nonlinear quality gradient from 80% down to 2% quality. The exponent was chosen by trial and error to yield a nice looking image with a good balance of high and low quality areas.
Licensing
[edit]![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
- 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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 11:44, 19 May 2006 | ![]() | 240 × 214 (5 KB) | Ilmari Karonen (talk | contribs) | A picture of a flower (Phalaenopsis_(aka).jpg by André Karwath) compressed with successively lossier JPEG compression ratios from left to right. === Technical details === The image was produced |
You cannot overwrite this file.
File usage on Commons
The following 4 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on cs.wikipedia.org
- Usage on en.wikipedia.org
- Usage on fi.wikipedia.org
- Usage on gl.wikipedia.org
- Usage on he.wikipedia.org
- Usage on hu.wikipedia.org
- Usage on id.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on jv.wikipedia.org
- Usage on sv.wikipedia.org