Nae heier resolution available.
This file is fae Wikimedia Commons n micht be uised bi ither waurks.
The descreeption oan its file descreeption page thaur is shawn ablo.
Ootline
Source code
#!/usr/bin/perl
use strict ;
use warnings ;
use v5 .12 ;
use File::Temp qw/ tempdir / ;
use Graphics::Magick ;
use Math::Round qw(:all) ;
my $p = new Graphics:: Magick ;
$p -> Read ( "Felis_silvestris_silvestris_small.png" );
#$p->Resize('x600');
my ( $width , $height ) = $p -> Get ( 'width' , 'height' );
my $center = $height ;
my $result = new Graphics:: Magick ;
$result -> Set ( size => "${width}x${height}" );
$result -> Read ();
$result -> Set ( 'quality' , 100 );
my $dir = tempdir ( CLEANUP => 1 );
my $chop = 16 ; # 1 MCU normally
my $vertical = 0 ;
for my $n ( 0 .. ( $vertical ? $height:$width )) {
next if $n%$chop ;
my $current = $p -> Clone ();
$current -> Crop ( width => $vertical ? $width:$chop , height => $vertical ? $chop:$height , x => $vertical ? 0 : $n , y => $vertical ? $n:0 );
my $quality = round_even ( 100 * abs (( $n + 6 * $chop ) ** 4 / $center ** 4 ));
say $quality ;
$current -> Set ( 'quality' => $quality );
my $filename = sprintf "%s/%05d.jpg" , $dir , $n ;
$current -> Write ( $filename );
my $m = new Graphics:: Magick ;
$m -> Read ( $filename );
$result -> Composite ( image => $m , x => $vertical ? 0 : $n , y => $vertical ? $n:0 );
}
$result -> Write ( 'Felis_silvestris_silvestris_small_gradual_decrease_of_quality.png' );
Licensin
Ye are free:
tae share – tae copy, distribute an transmit the wirk
tae remix – tae adapt the wirk
Unner the follaein condeetions:
attribution – Ye must attribute the wirk in the manner specified bi the author or licensor (but nae in ony way that suggests that thay endorse ye or yer uise o the wirk).
https://creativecommons.org/licenses/by/3.0 CC BY 3.0 Creative Commons Attribution 3.0 true true
Original upload log
This image is a derivative work of the following images:
File:Felis_silvestris_silvestris.jpg licensed with Cc-by-3.0
2010-02-18T00:29:12Z Michael Gäbler 1496x1729 (1659050 Bytes) {{Information |Description=''[[Felis silvestris silvestris|Felis silvestris silvestris]]'' (Schreber, 1775) {{en|1=[[:en: European Wildcat|European Wildcat]]}} {{de|1=[[:de:Europäische Wildkatze|Europäische Wildkatze]] im [
Uploaded with derivativeFX
Scots Add a one-line explanation of what this file represents
Inglis This is an example of the relationship between compression rate to quality of a .jpg image file. The rate is high compression to low quality.
File history
Eimage airtins
The'r nae pages airts tae this eimage.
Global file uisage
The follaein ither wikis uise this file:
Uisage on bn.wikipedia.org
Uisage on en.wikipedia.org
Uisage on en.wikibooks.org
Uisage on et.wikipedia.org
Uisage on fa.wikipedia.org
Uisage on hi.wikipedia.org
Uisage on it.wikipedia.org
Uisage on ko.wikipedia.org
Uisage on ml.wikipedia.org
Uisage on ms.wikipedia.org
Uisage on nn.wikipedia.org
Uisage on ru.wikipedia.org
Uisage on simple.wikipedia.org
Uisage on sv.wikipedia.org
Uisage on th.wikipedia.org
Uisage on uk.wikipedia.org
Uisage on zh-yue.wikipedia.org