파일:Felis silvestris silvestris small gradual decrease of quality.png

문서 내용이 다른 언어로는 지원되지 않습니다.
위키백과, 우리 모두의 백과사전.

Felis_silvestris_silvestris_small_gradual_decrease_of_quality.png(519 × 600 픽셀, 파일 크기: 156 KB, MIME 종류: image/png)

파일 설명

설명
English: Gradual JPEG artifacts example, with decreasing quality from right to left
날짜
출처 Felis_silvestris_silvestris.jpg
저자
다른 버전 이 파일은 다음으로 파생됨:  Felis silvestris silvestris small gradual decrease of quality - JPEG compression.jpg
이 그림은 수정된 그림으로, 원래 그림에서 디지털 변환이 이루어진 그림입니다. 수정 사항 : Gradual JPEG artifacts example. 원래의 그림 : Felis silvestris silvestris.jpg. 수정판 제작자 AzaToth.

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');

라이선스

w:ko:크리에이티브 커먼즈
저작자표시
이 파일은 크리에이티브 커먼즈 저작자표시 3.0 Unported 라이선스로 배포됩니다.
이용자는 다음의 권리를 갖습니다:
  • 공유 및 이용 – 저작물의 복제, 배포, 전시, 공연 및 공중송신
  • 재창작 – 저작물의 개작, 수정, 2차적저작물 창작
다음과 같은 조건을 따라야 합니다:
  • 저작자표시 – 적절한 저작자 표시를 제공하고, 라이센스에 대한 링크를 제공하고, 변경사항이 있는지를 표시해야 합니다. 당신은 합리적인 방식으로 표시할 수 있지만, 어떤 방식으로든 사용권 허가자가 당신 또는 당신의 사용을 지지하는 방식으로 표시할 수 없습니다.

기존 올리기 기록

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

설명

이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다
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.

이 파일에 묘사된 항목

다음을 묘사함

파일 역사

날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

날짜/시간섬네일크기사용자설명
현재2022년 5월 26일 (목) 01:222022년 5월 26일 (목) 01:22 판의 섬네일519 × 600 (156 KB)TilmannRThis is an image about JPEG compression artifacts. Therefore quantized re-encoding is undesirable. Reverted to version as of 15:42, 4 March 2017 (UTC)
2022년 4월 11일 (월) 17:592022년 4월 11일 (월) 17:59 판의 섬네일519 × 600 (94 KB)PhreneticcReduced "weight" of the file.
2017년 3월 5일 (일) 00:422017년 3월 5일 (일) 00:42 판의 섬네일519 × 600 (156 KB)GnashOptimized
2011년 10월 4일 (화) 06:282011년 10월 4일 (화) 06:28 판의 섬네일519 × 600 (278 KB)AzaToth

다음 문서 1개가 이 파일을 사용하고 있습니다:

이 파일을 사용하고 있는 모든 위키의 문서 목록

다음 위키에서 이 파일을 사용하고 있습니다: