chunky_png 0.10.5 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/benchmarks/filesize_benchmark.rb +1 -1
- data/chunky_png.gemspec +4 -4
- data/lib/chunky_png.rb +4 -11
- data/lib/chunky_png/canvas.rb +7 -8
- data/lib/chunky_png/canvas/adam7_interlacing.rb +36 -18
- data/lib/chunky_png/canvas/png_decoding.rb +258 -36
- data/lib/chunky_png/canvas/png_encoding.rb +1 -1
- data/lib/chunky_png/color.rb +41 -5
- data/lib/chunky_png/compatibility.rb +15 -0
- data/lib/chunky_png/datastream.rb +6 -0
- data/spec/chunky_png/canvas/adam7_interlacing_spec.rb +7 -7
- data/spec/chunky_png/canvas/png_decoding_spec.rb +33 -20
- data/spec/chunky_png/canvas/png_encoding_spec.rb +2 -3
- data/spec/chunky_png/color_spec.rb +29 -0
- data/spec/chunky_png/datastream_spec.rb +0 -5
- data/spec/chunky_png/rmagick_spec.rb +3 -3
- data/spec/png_suite/background_chunks/bgai4a08.png +0 -0
- data/spec/png_suite/background_chunks/bgai4a16.png +0 -0
- data/spec/png_suite/background_chunks/bgan6a08.png +0 -0
- data/spec/png_suite/background_chunks/bgan6a16.png +0 -0
- data/spec/png_suite/background_chunks/bgbn4a08.png +0 -0
- data/spec/png_suite/background_chunks/bggn4a16.png +0 -0
- data/spec/png_suite/background_chunks/bgwn6a08.png +0 -0
- data/spec/png_suite/background_chunks/bgyn6a16.png +0 -0
- data/spec/png_suite/basic/basi0g01.png +0 -0
- data/spec/png_suite/basic/basi0g01.rgba +0 -0
- data/spec/png_suite/basic/basi0g02.png +0 -0
- data/spec/png_suite/basic/basi0g02.rgba +0 -0
- data/spec/png_suite/basic/basi0g04.png +0 -0
- data/spec/png_suite/basic/basi0g04.rgba +0 -0
- data/spec/png_suite/basic/basi0g08.png +0 -0
- data/spec/png_suite/basic/basi0g08.rgba +0 -0
- data/spec/png_suite/basic/basi0g16.png +0 -0
- data/spec/png_suite/basic/basi0g16.rgba +0 -0
- data/spec/png_suite/basic/basi2c08.png +0 -0
- data/spec/png_suite/basic/basi2c08.rgba +0 -0
- data/spec/png_suite/basic/basi2c16.png +0 -0
- data/spec/png_suite/basic/basi2c16.rgba +0 -0
- data/spec/png_suite/basic/basi3p01.png +0 -0
- data/spec/png_suite/basic/basi3p01.rgba +1 -0
- data/spec/png_suite/basic/basi3p02.png +0 -0
- data/spec/png_suite/basic/basi3p02.rgba +0 -0
- data/spec/png_suite/basic/basi3p04.png +0 -0
- data/spec/png_suite/basic/basi3p04.rgba +0 -0
- data/spec/png_suite/basic/basi3p08.png +0 -0
- data/spec/png_suite/basic/basi3p08.rgba +0 -0
- data/spec/png_suite/basic/basi4a08.png +0 -0
- data/spec/png_suite/basic/basi4a08.rgba +0 -0
- data/spec/png_suite/basic/basi4a16.png +0 -0
- data/spec/png_suite/basic/basi4a16.rgba +0 -0
- data/spec/png_suite/basic/basi6a08.png +0 -0
- data/spec/png_suite/basic/basi6a08.rgba +0 -0
- data/spec/png_suite/basic/basi6a16.png +0 -0
- data/spec/png_suite/basic/basi6a16.rgba +0 -0
- data/spec/png_suite/basic/basn0g01.png +0 -0
- data/spec/png_suite/basic/basn0g01.rgba +0 -0
- data/spec/png_suite/basic/basn0g02.png +0 -0
- data/spec/png_suite/basic/basn0g02.rgba +0 -0
- data/spec/png_suite/basic/basn0g04.png +0 -0
- data/spec/png_suite/basic/basn0g04.rgba +0 -0
- data/spec/png_suite/basic/basn0g08.png +0 -0
- data/spec/png_suite/basic/basn0g08.rgba +0 -0
- data/spec/png_suite/basic/basn0g16.png +0 -0
- data/spec/png_suite/basic/basn0g16.rgba +0 -0
- data/spec/png_suite/basic/basn2c08.png +0 -0
- data/spec/png_suite/basic/basn2c08.rgba +0 -0
- data/spec/png_suite/basic/basn2c16.png +0 -0
- data/spec/png_suite/basic/basn2c16.rgba +0 -0
- data/spec/png_suite/basic/basn3p01.png +0 -0
- data/spec/png_suite/basic/basn3p01.rgba +1 -0
- data/spec/png_suite/basic/basn3p02.png +0 -0
- data/spec/png_suite/basic/basn3p02.rgba +0 -0
- data/spec/{resources/indexed_4bit.png → png_suite/basic/basn3p04.png} +0 -0
- data/spec/png_suite/basic/basn3p04.rgba +0 -0
- data/spec/png_suite/basic/basn3p08.png +0 -0
- data/spec/png_suite/basic/basn3p08.rgba +0 -0
- data/spec/png_suite/basic/basn4a08.png +0 -0
- data/spec/png_suite/basic/basn4a08.rgba +0 -0
- data/spec/png_suite/basic/basn4a16.png +0 -0
- data/spec/png_suite/basic/basn4a16.rgba +0 -0
- data/spec/png_suite/basic/basn6a08.png +0 -0
- data/spec/png_suite/basic/basn6a08.rgba +0 -0
- data/spec/png_suite/basic/basn6a16.png +0 -0
- data/spec/png_suite/basic/basn6a16.rgba +0 -0
- data/spec/png_suite/broken/x00n0g01.png +0 -0
- data/spec/png_suite/broken/xcrn0g04.png +0 -0
- data/spec/png_suite/broken/xlfn0g04.png +13 -0
- data/spec/png_suite/chunk_ordering/oi1n0g16.png +0 -0
- data/spec/png_suite/chunk_ordering/oi1n2c16.png +0 -0
- data/spec/png_suite/chunk_ordering/oi2n0g16.png +0 -0
- data/spec/png_suite/chunk_ordering/oi2n2c16.png +0 -0
- data/spec/png_suite/chunk_ordering/oi4n0g16.png +0 -0
- data/spec/png_suite/chunk_ordering/oi4n2c16.png +0 -0
- data/spec/png_suite/chunk_ordering/oi9n0g16.png +0 -0
- data/spec/png_suite/chunk_ordering/oi9n2c16.png +0 -0
- data/spec/png_suite/compression_levels/z00n2c08.png +0 -0
- data/spec/png_suite/compression_levels/z03n2c08.png +0 -0
- data/spec/png_suite/compression_levels/z06n2c08.png +0 -0
- data/spec/png_suite/compression_levels/z09n2c08.png +0 -0
- data/spec/png_suite/filtering/f00n0g08.png +0 -0
- data/spec/png_suite/filtering/f00n0g08.rgba +0 -0
- data/spec/png_suite/filtering/f00n0g08_reference.png +0 -0
- data/spec/png_suite/filtering/f00n0g08_reference.rgba +0 -0
- data/spec/png_suite/filtering/f00n2c08.png +0 -0
- data/spec/png_suite/filtering/f00n2c08.rgba +0 -0
- data/spec/png_suite/filtering/f00n2c08_reference.png +0 -0
- data/spec/png_suite/filtering/f00n2c08_reference.rgba +0 -0
- data/spec/png_suite/filtering/f01n0g08.png +0 -0
- data/spec/png_suite/filtering/f01n0g08.rgba +0 -0
- data/spec/png_suite/filtering/f01n0g08_reference.png +0 -0
- data/spec/png_suite/filtering/f01n0g08_reference.rgba +0 -0
- data/spec/png_suite/filtering/f01n2c08.png +0 -0
- data/spec/png_suite/filtering/f01n2c08.rgba +0 -0
- data/spec/png_suite/filtering/f01n2c08_reference.png +0 -0
- data/spec/png_suite/filtering/f01n2c08_reference.rgba +0 -0
- data/spec/png_suite/filtering/f02n0g08.png +0 -0
- data/spec/png_suite/filtering/f02n0g08.rgba +0 -0
- data/spec/png_suite/filtering/f02n0g08_reference.png +0 -0
- data/spec/png_suite/filtering/f02n0g08_reference.rgba +0 -0
- data/spec/png_suite/filtering/f02n2c08.png +0 -0
- data/spec/png_suite/filtering/f02n2c08.rgba +0 -0
- data/spec/png_suite/filtering/f02n2c08_reference.png +0 -0
- data/spec/png_suite/filtering/f02n2c08_reference.rgba +0 -0
- data/spec/png_suite/filtering/f03n0g08.png +0 -0
- data/spec/png_suite/filtering/f03n0g08.rgba +0 -0
- data/spec/png_suite/filtering/f03n0g08_reference.png +0 -0
- data/spec/png_suite/filtering/f03n0g08_reference.rgba +0 -0
- data/spec/png_suite/filtering/f03n2c08.png +0 -0
- data/spec/png_suite/filtering/f03n2c08.rgba +0 -0
- data/spec/png_suite/filtering/f03n2c08_reference.png +0 -0
- data/spec/png_suite/filtering/f03n2c08_reference.rgba +0 -0
- data/spec/png_suite/filtering/f04n0g08.png +0 -0
- data/spec/png_suite/filtering/f04n0g08.rgba +0 -0
- data/spec/png_suite/filtering/f04n0g08_reference.png +0 -0
- data/spec/png_suite/filtering/f04n0g08_reference.rgba +0 -0
- data/spec/png_suite/filtering/f04n2c08.png +0 -0
- data/spec/png_suite/filtering/f04n2c08.rgba +0 -0
- data/spec/png_suite/filtering/f04n2c08_reference.png +0 -0
- data/spec/png_suite/filtering/f04n2c08_reference.rgba +0 -0
- data/spec/png_suite/gamma/g03n0g16.png +0 -0
- data/spec/png_suite/gamma/g03n2c08.png +0 -0
- data/spec/png_suite/gamma/g03n3p04.png +0 -0
- data/spec/png_suite/gamma/g04n0g16.png +0 -0
- data/spec/png_suite/gamma/g04n2c08.png +0 -0
- data/spec/png_suite/gamma/g04n3p04.png +0 -0
- data/spec/png_suite/gamma/g05n0g16.png +0 -0
- data/spec/png_suite/gamma/g05n2c08.png +0 -0
- data/spec/png_suite/gamma/g05n3p04.png +0 -0
- data/spec/png_suite/gamma/g07n0g16.png +0 -0
- data/spec/png_suite/gamma/g07n2c08.png +0 -0
- data/spec/png_suite/gamma/g07n3p04.png +0 -0
- data/spec/png_suite/gamma/g10n0g16.png +0 -0
- data/spec/png_suite/gamma/g10n2c08.png +0 -0
- data/spec/png_suite/gamma/g10n3p04.png +0 -0
- data/spec/png_suite/gamma/g25n0g16.png +0 -0
- data/spec/png_suite/gamma/g25n2c08.png +0 -0
- data/spec/png_suite/gamma/g25n3p04.png +0 -0
- data/spec/png_suite/metadata/cm0n0g04.png +0 -0
- data/spec/png_suite/metadata/cm7n0g04.png +0 -0
- data/spec/png_suite/metadata/cm9n0g04.png +0 -0
- data/spec/png_suite/other/ccwn2c08.png +0 -0
- data/spec/png_suite/other/ccwn3p08.png +0 -0
- data/spec/png_suite/other/cdfn2c08.png +0 -0
- data/spec/png_suite/other/cdhn2c08.png +0 -0
- data/spec/png_suite/other/cdsn2c08.png +0 -0
- data/spec/png_suite/other/cdun2c08.png +0 -0
- data/spec/png_suite/other/ch1n3p04.png +0 -0
- data/spec/png_suite/other/ch2n3p08.png +0 -0
- data/spec/png_suite/other/cs3n2c16.png +0 -0
- data/spec/png_suite/other/cs3n3p08.png +0 -0
- data/spec/png_suite/other/cs5n2c08.png +0 -0
- data/spec/png_suite/other/cs5n3p08.png +0 -0
- data/spec/png_suite/other/cs8n2c08.png +0 -0
- data/spec/png_suite/other/cs8n3p08.png +0 -0
- data/spec/png_suite/other/ct0n0g04.png +0 -0
- data/spec/png_suite/other/ct1n0g04.png +0 -0
- data/spec/png_suite/other/ctzn0g04.png +0 -0
- data/spec/png_suite/other/pp0n2c16.png +0 -0
- data/spec/png_suite/other/pp0n6a08.png +0 -0
- data/spec/png_suite/other/ps1n0g08.png +0 -0
- data/spec/png_suite/other/ps1n2c16.png +0 -0
- data/spec/png_suite/other/ps2n0g08.png +0 -0
- data/spec/png_suite/other/ps2n2c16.png +0 -0
- data/spec/png_suite/sizes/s01i3p01.png +0 -0
- data/spec/png_suite/sizes/s01n3p01.png +0 -0
- data/spec/png_suite/sizes/s02i3p01.png +0 -0
- data/spec/png_suite/sizes/s02n3p01.png +0 -0
- data/spec/png_suite/sizes/s03i3p01.png +0 -0
- data/spec/png_suite/sizes/s03n3p01.png +0 -0
- data/spec/png_suite/sizes/s04i3p01.png +0 -0
- data/spec/png_suite/sizes/s04n3p01.png +0 -0
- data/spec/png_suite/sizes/s05i3p02.png +0 -0
- data/spec/png_suite/sizes/s05n3p02.png +0 -0
- data/spec/png_suite/sizes/s06i3p02.png +0 -0
- data/spec/png_suite/sizes/s06n3p02.png +0 -0
- data/spec/png_suite/sizes/s07i3p02.png +0 -0
- data/spec/png_suite/sizes/s07n3p02.png +0 -0
- data/spec/png_suite/sizes/s08i3p02.png +0 -0
- data/spec/png_suite/sizes/s08n3p02.png +0 -0
- data/spec/png_suite/sizes/s09i3p02.png +0 -0
- data/spec/png_suite/sizes/s09n3p02.png +0 -0
- data/spec/png_suite/sizes/s32i3p04.png +0 -0
- data/spec/png_suite/sizes/s32n3p04.png +0 -0
- data/spec/png_suite/sizes/s33i3p04.png +0 -0
- data/spec/png_suite/sizes/s33n3p04.png +0 -0
- data/spec/png_suite/sizes/s34i3p04.png +0 -0
- data/spec/png_suite/sizes/s34n3p04.png +0 -0
- data/spec/png_suite/sizes/s35i3p04.png +0 -0
- data/spec/png_suite/sizes/s35n3p04.png +0 -0
- data/spec/png_suite/sizes/s36i3p04.png +0 -0
- data/spec/png_suite/sizes/s36n3p04.png +0 -0
- data/spec/png_suite/sizes/s37i3p04.png +0 -0
- data/spec/png_suite/sizes/s37n3p04.png +0 -0
- data/spec/png_suite/sizes/s38i3p04.png +0 -0
- data/spec/png_suite/sizes/s38n3p04.png +0 -0
- data/spec/png_suite/sizes/s39i3p04.png +0 -0
- data/spec/png_suite/sizes/s39n3p04.png +0 -0
- data/spec/png_suite/sizes/s40i3p04.png +0 -0
- data/spec/png_suite/sizes/s40n3p04.png +0 -0
- data/spec/png_suite/transparency/tbbn1g04.png +0 -0
- data/spec/png_suite/transparency/tbbn2c16.png +0 -0
- data/spec/png_suite/transparency/tbbn3p08.png +0 -0
- data/spec/png_suite/transparency/tbgn2c16.png +0 -0
- data/spec/png_suite/transparency/tbgn3p08.png +0 -0
- data/spec/png_suite/transparency/tbrn2c08.png +0 -0
- data/spec/png_suite/transparency/tbwn1g16.png +0 -0
- data/spec/png_suite/transparency/tbwn3p08.png +0 -0
- data/spec/png_suite/transparency/tbyn3p08.png +0 -0
- data/spec/png_suite/transparency/tp0n1g08.png +0 -0
- data/spec/png_suite/transparency/tp0n2c08.png +0 -0
- data/spec/png_suite/transparency/tp0n3p08.png +0 -0
- data/spec/png_suite/transparency/tp1n3p08.png +0 -0
- data/spec/png_suite_spec.rb +119 -0
- data/spec/spec_helper.rb +26 -16
- metadata +240 -25
- data/spec/resources/16x16_interlaced.png +0 -0
- data/spec/resources/16x16_non_interlaced.png +0 -0
- data/spec/resources/gray_10x10.png +0 -0
- data/spec/resources/gray_10x10_grayscale.png +0 -0
- data/spec/resources/gray_10x10_grayscale_alpha.png +0 -0
- data/spec/resources/gray_10x10_indexed.png +0 -0
- data/spec/resources/gray_10x10_truecolor.png +0 -0
- data/spec/resources/gray_10x10_truecolor_alpha.png +0 -0
- data/spec/resources/transparent_gray_10x10.png +0 -0
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 11
|
8
|
+
- 0
|
9
|
+
version: 0.11.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Willem van Bergen
|
@@ -14,25 +14,26 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-11-01 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
name: rake
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
segments:
|
28
28
|
- 0
|
29
29
|
version: "0"
|
30
|
-
requirement: *id001
|
31
|
-
name: rake
|
32
|
-
- !ruby/object:Gem::Dependency
|
33
|
-
prerelease: false
|
34
30
|
type: :development
|
35
|
-
|
31
|
+
prerelease: false
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rspec
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
36
37
|
requirements:
|
37
38
|
- - ~>
|
38
39
|
- !ruby/object:Gem::Version
|
@@ -40,8 +41,9 @@ dependencies:
|
|
40
41
|
- 2
|
41
42
|
- 0
|
42
43
|
version: "2.0"
|
43
|
-
|
44
|
-
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *id002
|
45
47
|
description: " This pure Ruby library can read and write PNG images without depending on an external \n image library, like RMagick. It tries to be memory efficient and reasonably fast.\n \n It supports reading and writing all PNG variants that are defined in the specification, \n with one limitation: only 8-bit color depth is supported. It supports all transparency, \n interlacing and filtering options the PNG specifications allows. It can also read and \n write textual metadata from PNG files. Low-level read/write access to PNG chunks is\n also possible.\n \n This library supports simple drawing on the image canvas and simple operations like\n alpha composition and cropping. Finally, it can import from and export to RMagick for \n interoperability.\n \n Also, have a look at OilyPNG at http://github.com/wvanbergen/oily_png. OilyPNG is a \n drop in mixin module that implements some of the ChunkyPNG algorithms in C, which \n provides a massive speed boost to encoding and decoding.\n"
|
46
48
|
email:
|
47
49
|
- willem@railsdoctors.com
|
@@ -75,6 +77,7 @@ files:
|
|
75
77
|
- lib/chunky_png/canvas/stream_importing.rb
|
76
78
|
- lib/chunky_png/chunk.rb
|
77
79
|
- lib/chunky_png/color.rb
|
80
|
+
- lib/chunky_png/compatibility.rb
|
78
81
|
- lib/chunky_png/datastream.rb
|
79
82
|
- lib/chunky_png/image.rb
|
80
83
|
- lib/chunky_png/palette.rb
|
@@ -90,8 +93,223 @@ files:
|
|
90
93
|
- spec/chunky_png/image_spec.rb
|
91
94
|
- spec/chunky_png/rmagick_spec.rb
|
92
95
|
- spec/chunky_png_spec.rb
|
93
|
-
- spec/
|
94
|
-
- spec/
|
96
|
+
- spec/png_suite/background_chunks/bgai4a08.png
|
97
|
+
- spec/png_suite/background_chunks/bgai4a16.png
|
98
|
+
- spec/png_suite/background_chunks/bgan6a08.png
|
99
|
+
- spec/png_suite/background_chunks/bgan6a16.png
|
100
|
+
- spec/png_suite/background_chunks/bgbn4a08.png
|
101
|
+
- spec/png_suite/background_chunks/bggn4a16.png
|
102
|
+
- spec/png_suite/background_chunks/bgwn6a08.png
|
103
|
+
- spec/png_suite/background_chunks/bgyn6a16.png
|
104
|
+
- spec/png_suite/basic/basi0g01.png
|
105
|
+
- spec/png_suite/basic/basi0g01.rgba
|
106
|
+
- spec/png_suite/basic/basi0g02.png
|
107
|
+
- spec/png_suite/basic/basi0g02.rgba
|
108
|
+
- spec/png_suite/basic/basi0g04.png
|
109
|
+
- spec/png_suite/basic/basi0g04.rgba
|
110
|
+
- spec/png_suite/basic/basi0g08.png
|
111
|
+
- spec/png_suite/basic/basi0g08.rgba
|
112
|
+
- spec/png_suite/basic/basi0g16.png
|
113
|
+
- spec/png_suite/basic/basi0g16.rgba
|
114
|
+
- spec/png_suite/basic/basi2c08.png
|
115
|
+
- spec/png_suite/basic/basi2c08.rgba
|
116
|
+
- spec/png_suite/basic/basi2c16.png
|
117
|
+
- spec/png_suite/basic/basi2c16.rgba
|
118
|
+
- spec/png_suite/basic/basi3p01.png
|
119
|
+
- spec/png_suite/basic/basi3p01.rgba
|
120
|
+
- spec/png_suite/basic/basi3p02.png
|
121
|
+
- spec/png_suite/basic/basi3p02.rgba
|
122
|
+
- spec/png_suite/basic/basi3p04.png
|
123
|
+
- spec/png_suite/basic/basi3p04.rgba
|
124
|
+
- spec/png_suite/basic/basi3p08.png
|
125
|
+
- spec/png_suite/basic/basi3p08.rgba
|
126
|
+
- spec/png_suite/basic/basi4a08.png
|
127
|
+
- spec/png_suite/basic/basi4a08.rgba
|
128
|
+
- spec/png_suite/basic/basi4a16.png
|
129
|
+
- spec/png_suite/basic/basi4a16.rgba
|
130
|
+
- spec/png_suite/basic/basi6a08.png
|
131
|
+
- spec/png_suite/basic/basi6a08.rgba
|
132
|
+
- spec/png_suite/basic/basi6a16.png
|
133
|
+
- spec/png_suite/basic/basi6a16.rgba
|
134
|
+
- spec/png_suite/basic/basn0g01.png
|
135
|
+
- spec/png_suite/basic/basn0g01.rgba
|
136
|
+
- spec/png_suite/basic/basn0g02.png
|
137
|
+
- spec/png_suite/basic/basn0g02.rgba
|
138
|
+
- spec/png_suite/basic/basn0g04.png
|
139
|
+
- spec/png_suite/basic/basn0g04.rgba
|
140
|
+
- spec/png_suite/basic/basn0g08.png
|
141
|
+
- spec/png_suite/basic/basn0g08.rgba
|
142
|
+
- spec/png_suite/basic/basn0g16.png
|
143
|
+
- spec/png_suite/basic/basn0g16.rgba
|
144
|
+
- spec/png_suite/basic/basn2c08.png
|
145
|
+
- spec/png_suite/basic/basn2c08.rgba
|
146
|
+
- spec/png_suite/basic/basn2c16.png
|
147
|
+
- spec/png_suite/basic/basn2c16.rgba
|
148
|
+
- spec/png_suite/basic/basn3p01.png
|
149
|
+
- spec/png_suite/basic/basn3p01.rgba
|
150
|
+
- spec/png_suite/basic/basn3p02.png
|
151
|
+
- spec/png_suite/basic/basn3p02.rgba
|
152
|
+
- spec/png_suite/basic/basn3p04.png
|
153
|
+
- spec/png_suite/basic/basn3p04.rgba
|
154
|
+
- spec/png_suite/basic/basn3p08.png
|
155
|
+
- spec/png_suite/basic/basn3p08.rgba
|
156
|
+
- spec/png_suite/basic/basn4a08.png
|
157
|
+
- spec/png_suite/basic/basn4a08.rgba
|
158
|
+
- spec/png_suite/basic/basn4a16.png
|
159
|
+
- spec/png_suite/basic/basn4a16.rgba
|
160
|
+
- spec/png_suite/basic/basn6a08.png
|
161
|
+
- spec/png_suite/basic/basn6a08.rgba
|
162
|
+
- spec/png_suite/basic/basn6a16.png
|
163
|
+
- spec/png_suite/basic/basn6a16.rgba
|
164
|
+
- spec/png_suite/broken/x00n0g01.png
|
165
|
+
- spec/png_suite/broken/xcrn0g04.png
|
166
|
+
- spec/png_suite/broken/xlfn0g04.png
|
167
|
+
- spec/png_suite/chunk_ordering/oi1n0g16.png
|
168
|
+
- spec/png_suite/chunk_ordering/oi1n2c16.png
|
169
|
+
- spec/png_suite/chunk_ordering/oi2n0g16.png
|
170
|
+
- spec/png_suite/chunk_ordering/oi2n2c16.png
|
171
|
+
- spec/png_suite/chunk_ordering/oi4n0g16.png
|
172
|
+
- spec/png_suite/chunk_ordering/oi4n2c16.png
|
173
|
+
- spec/png_suite/chunk_ordering/oi9n0g16.png
|
174
|
+
- spec/png_suite/chunk_ordering/oi9n2c16.png
|
175
|
+
- spec/png_suite/compression_levels/z00n2c08.png
|
176
|
+
- spec/png_suite/compression_levels/z03n2c08.png
|
177
|
+
- spec/png_suite/compression_levels/z06n2c08.png
|
178
|
+
- spec/png_suite/compression_levels/z09n2c08.png
|
179
|
+
- spec/png_suite/filtering/f00n0g08.png
|
180
|
+
- spec/png_suite/filtering/f00n0g08.rgba
|
181
|
+
- spec/png_suite/filtering/f00n0g08_reference.png
|
182
|
+
- spec/png_suite/filtering/f00n0g08_reference.rgba
|
183
|
+
- spec/png_suite/filtering/f00n2c08.png
|
184
|
+
- spec/png_suite/filtering/f00n2c08.rgba
|
185
|
+
- spec/png_suite/filtering/f00n2c08_reference.png
|
186
|
+
- spec/png_suite/filtering/f00n2c08_reference.rgba
|
187
|
+
- spec/png_suite/filtering/f01n0g08.png
|
188
|
+
- spec/png_suite/filtering/f01n0g08.rgba
|
189
|
+
- spec/png_suite/filtering/f01n0g08_reference.png
|
190
|
+
- spec/png_suite/filtering/f01n0g08_reference.rgba
|
191
|
+
- spec/png_suite/filtering/f01n2c08.png
|
192
|
+
- spec/png_suite/filtering/f01n2c08.rgba
|
193
|
+
- spec/png_suite/filtering/f01n2c08_reference.png
|
194
|
+
- spec/png_suite/filtering/f01n2c08_reference.rgba
|
195
|
+
- spec/png_suite/filtering/f02n0g08.png
|
196
|
+
- spec/png_suite/filtering/f02n0g08.rgba
|
197
|
+
- spec/png_suite/filtering/f02n0g08_reference.png
|
198
|
+
- spec/png_suite/filtering/f02n0g08_reference.rgba
|
199
|
+
- spec/png_suite/filtering/f02n2c08.png
|
200
|
+
- spec/png_suite/filtering/f02n2c08.rgba
|
201
|
+
- spec/png_suite/filtering/f02n2c08_reference.png
|
202
|
+
- spec/png_suite/filtering/f02n2c08_reference.rgba
|
203
|
+
- spec/png_suite/filtering/f03n0g08.png
|
204
|
+
- spec/png_suite/filtering/f03n0g08.rgba
|
205
|
+
- spec/png_suite/filtering/f03n0g08_reference.png
|
206
|
+
- spec/png_suite/filtering/f03n0g08_reference.rgba
|
207
|
+
- spec/png_suite/filtering/f03n2c08.png
|
208
|
+
- spec/png_suite/filtering/f03n2c08.rgba
|
209
|
+
- spec/png_suite/filtering/f03n2c08_reference.png
|
210
|
+
- spec/png_suite/filtering/f03n2c08_reference.rgba
|
211
|
+
- spec/png_suite/filtering/f04n0g08.png
|
212
|
+
- spec/png_suite/filtering/f04n0g08.rgba
|
213
|
+
- spec/png_suite/filtering/f04n0g08_reference.png
|
214
|
+
- spec/png_suite/filtering/f04n0g08_reference.rgba
|
215
|
+
- spec/png_suite/filtering/f04n2c08.png
|
216
|
+
- spec/png_suite/filtering/f04n2c08.rgba
|
217
|
+
- spec/png_suite/filtering/f04n2c08_reference.png
|
218
|
+
- spec/png_suite/filtering/f04n2c08_reference.rgba
|
219
|
+
- spec/png_suite/gamma/g03n0g16.png
|
220
|
+
- spec/png_suite/gamma/g03n2c08.png
|
221
|
+
- spec/png_suite/gamma/g03n3p04.png
|
222
|
+
- spec/png_suite/gamma/g04n0g16.png
|
223
|
+
- spec/png_suite/gamma/g04n2c08.png
|
224
|
+
- spec/png_suite/gamma/g04n3p04.png
|
225
|
+
- spec/png_suite/gamma/g05n0g16.png
|
226
|
+
- spec/png_suite/gamma/g05n2c08.png
|
227
|
+
- spec/png_suite/gamma/g05n3p04.png
|
228
|
+
- spec/png_suite/gamma/g07n0g16.png
|
229
|
+
- spec/png_suite/gamma/g07n2c08.png
|
230
|
+
- spec/png_suite/gamma/g07n3p04.png
|
231
|
+
- spec/png_suite/gamma/g10n0g16.png
|
232
|
+
- spec/png_suite/gamma/g10n2c08.png
|
233
|
+
- spec/png_suite/gamma/g10n3p04.png
|
234
|
+
- spec/png_suite/gamma/g25n0g16.png
|
235
|
+
- spec/png_suite/gamma/g25n2c08.png
|
236
|
+
- spec/png_suite/gamma/g25n3p04.png
|
237
|
+
- spec/png_suite/metadata/cm0n0g04.png
|
238
|
+
- spec/png_suite/metadata/cm7n0g04.png
|
239
|
+
- spec/png_suite/metadata/cm9n0g04.png
|
240
|
+
- spec/png_suite/other/ccwn2c08.png
|
241
|
+
- spec/png_suite/other/ccwn3p08.png
|
242
|
+
- spec/png_suite/other/cdfn2c08.png
|
243
|
+
- spec/png_suite/other/cdhn2c08.png
|
244
|
+
- spec/png_suite/other/cdsn2c08.png
|
245
|
+
- spec/png_suite/other/cdun2c08.png
|
246
|
+
- spec/png_suite/other/ch1n3p04.png
|
247
|
+
- spec/png_suite/other/ch2n3p08.png
|
248
|
+
- spec/png_suite/other/cs3n2c16.png
|
249
|
+
- spec/png_suite/other/cs3n3p08.png
|
250
|
+
- spec/png_suite/other/cs5n2c08.png
|
251
|
+
- spec/png_suite/other/cs5n3p08.png
|
252
|
+
- spec/png_suite/other/cs8n2c08.png
|
253
|
+
- spec/png_suite/other/cs8n3p08.png
|
254
|
+
- spec/png_suite/other/ct0n0g04.png
|
255
|
+
- spec/png_suite/other/ct1n0g04.png
|
256
|
+
- spec/png_suite/other/ctzn0g04.png
|
257
|
+
- spec/png_suite/other/pp0n2c16.png
|
258
|
+
- spec/png_suite/other/pp0n6a08.png
|
259
|
+
- spec/png_suite/other/ps1n0g08.png
|
260
|
+
- spec/png_suite/other/ps1n2c16.png
|
261
|
+
- spec/png_suite/other/ps2n0g08.png
|
262
|
+
- spec/png_suite/other/ps2n2c16.png
|
263
|
+
- spec/png_suite/sizes/s01i3p01.png
|
264
|
+
- spec/png_suite/sizes/s01n3p01.png
|
265
|
+
- spec/png_suite/sizes/s02i3p01.png
|
266
|
+
- spec/png_suite/sizes/s02n3p01.png
|
267
|
+
- spec/png_suite/sizes/s03i3p01.png
|
268
|
+
- spec/png_suite/sizes/s03n3p01.png
|
269
|
+
- spec/png_suite/sizes/s04i3p01.png
|
270
|
+
- spec/png_suite/sizes/s04n3p01.png
|
271
|
+
- spec/png_suite/sizes/s05i3p02.png
|
272
|
+
- spec/png_suite/sizes/s05n3p02.png
|
273
|
+
- spec/png_suite/sizes/s06i3p02.png
|
274
|
+
- spec/png_suite/sizes/s06n3p02.png
|
275
|
+
- spec/png_suite/sizes/s07i3p02.png
|
276
|
+
- spec/png_suite/sizes/s07n3p02.png
|
277
|
+
- spec/png_suite/sizes/s08i3p02.png
|
278
|
+
- spec/png_suite/sizes/s08n3p02.png
|
279
|
+
- spec/png_suite/sizes/s09i3p02.png
|
280
|
+
- spec/png_suite/sizes/s09n3p02.png
|
281
|
+
- spec/png_suite/sizes/s32i3p04.png
|
282
|
+
- spec/png_suite/sizes/s32n3p04.png
|
283
|
+
- spec/png_suite/sizes/s33i3p04.png
|
284
|
+
- spec/png_suite/sizes/s33n3p04.png
|
285
|
+
- spec/png_suite/sizes/s34i3p04.png
|
286
|
+
- spec/png_suite/sizes/s34n3p04.png
|
287
|
+
- spec/png_suite/sizes/s35i3p04.png
|
288
|
+
- spec/png_suite/sizes/s35n3p04.png
|
289
|
+
- spec/png_suite/sizes/s36i3p04.png
|
290
|
+
- spec/png_suite/sizes/s36n3p04.png
|
291
|
+
- spec/png_suite/sizes/s37i3p04.png
|
292
|
+
- spec/png_suite/sizes/s37n3p04.png
|
293
|
+
- spec/png_suite/sizes/s38i3p04.png
|
294
|
+
- spec/png_suite/sizes/s38n3p04.png
|
295
|
+
- spec/png_suite/sizes/s39i3p04.png
|
296
|
+
- spec/png_suite/sizes/s39n3p04.png
|
297
|
+
- spec/png_suite/sizes/s40i3p04.png
|
298
|
+
- spec/png_suite/sizes/s40n3p04.png
|
299
|
+
- spec/png_suite/transparency/tbbn1g04.png
|
300
|
+
- spec/png_suite/transparency/tbbn2c16.png
|
301
|
+
- spec/png_suite/transparency/tbbn3p08.png
|
302
|
+
- spec/png_suite/transparency/tbgn2c16.png
|
303
|
+
- spec/png_suite/transparency/tbgn3p08.png
|
304
|
+
- spec/png_suite/transparency/tbrn2c08.png
|
305
|
+
- spec/png_suite/transparency/tbwn1g16.png
|
306
|
+
- spec/png_suite/transparency/tbwn3p08.png
|
307
|
+
- spec/png_suite/transparency/tbyn3p08.png
|
308
|
+
- spec/png_suite/transparency/tp0n1g08.png
|
309
|
+
- spec/png_suite/transparency/tp0n2c08.png
|
310
|
+
- spec/png_suite/transparency/tp0n3p08.png
|
311
|
+
- spec/png_suite/transparency/tp1n3p08.png
|
312
|
+
- spec/png_suite_spec.rb
|
95
313
|
- spec/resources/adam7.png
|
96
314
|
- spec/resources/clock.png
|
97
315
|
- spec/resources/clock_base.png
|
@@ -108,13 +326,6 @@ files:
|
|
108
326
|
- spec/resources/cropped.png
|
109
327
|
- spec/resources/damaged_chunk.png
|
110
328
|
- spec/resources/damaged_signature.png
|
111
|
-
- spec/resources/gray_10x10.png
|
112
|
-
- spec/resources/gray_10x10_grayscale.png
|
113
|
-
- spec/resources/gray_10x10_grayscale_alpha.png
|
114
|
-
- spec/resources/gray_10x10_indexed.png
|
115
|
-
- spec/resources/gray_10x10_truecolor.png
|
116
|
-
- spec/resources/gray_10x10_truecolor_alpha.png
|
117
|
-
- spec/resources/indexed_4bit.png
|
118
329
|
- spec/resources/lines.png
|
119
330
|
- spec/resources/operations.png
|
120
331
|
- spec/resources/pixelstream.rgb
|
@@ -125,7 +336,6 @@ files:
|
|
125
336
|
- spec/resources/rect.png
|
126
337
|
- spec/resources/replaced.png
|
127
338
|
- spec/resources/text_chunk.png
|
128
|
-
- spec/resources/transparent_gray_10x10.png
|
129
339
|
- spec/resources/ztxt_chunk.png
|
130
340
|
- spec/spec_helper.rb
|
131
341
|
- tasks/benchmarks.rake
|
@@ -145,23 +355,27 @@ rdoc_options:
|
|
145
355
|
require_paths:
|
146
356
|
- lib
|
147
357
|
required_ruby_version: !ruby/object:Gem::Requirement
|
358
|
+
none: false
|
148
359
|
requirements:
|
149
360
|
- - ">="
|
150
361
|
- !ruby/object:Gem::Version
|
362
|
+
hash: -324216389516001669
|
151
363
|
segments:
|
152
364
|
- 0
|
153
365
|
version: "0"
|
154
366
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
367
|
+
none: false
|
155
368
|
requirements:
|
156
369
|
- - ">="
|
157
370
|
- !ruby/object:Gem::Version
|
371
|
+
hash: -324216389516001669
|
158
372
|
segments:
|
159
373
|
- 0
|
160
374
|
version: "0"
|
161
375
|
requirements: []
|
162
376
|
|
163
377
|
rubyforge_project:
|
164
|
-
rubygems_version: 1.3.
|
378
|
+
rubygems_version: 1.3.7
|
165
379
|
signing_key:
|
166
380
|
specification_version: 3
|
167
381
|
summary: Pure ruby library for read/write, chunk-level access to PNG files
|
@@ -177,3 +391,4 @@ test_files:
|
|
177
391
|
- spec/chunky_png/image_spec.rb
|
178
392
|
- spec/chunky_png/rmagick_spec.rb
|
179
393
|
- spec/chunky_png_spec.rb
|
394
|
+
- spec/png_suite_spec.rb
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|