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.
Files changed (245) hide show
  1. data/Gemfile.lock +1 -1
  2. data/benchmarks/filesize_benchmark.rb +1 -1
  3. data/chunky_png.gemspec +4 -4
  4. data/lib/chunky_png.rb +4 -11
  5. data/lib/chunky_png/canvas.rb +7 -8
  6. data/lib/chunky_png/canvas/adam7_interlacing.rb +36 -18
  7. data/lib/chunky_png/canvas/png_decoding.rb +258 -36
  8. data/lib/chunky_png/canvas/png_encoding.rb +1 -1
  9. data/lib/chunky_png/color.rb +41 -5
  10. data/lib/chunky_png/compatibility.rb +15 -0
  11. data/lib/chunky_png/datastream.rb +6 -0
  12. data/spec/chunky_png/canvas/adam7_interlacing_spec.rb +7 -7
  13. data/spec/chunky_png/canvas/png_decoding_spec.rb +33 -20
  14. data/spec/chunky_png/canvas/png_encoding_spec.rb +2 -3
  15. data/spec/chunky_png/color_spec.rb +29 -0
  16. data/spec/chunky_png/datastream_spec.rb +0 -5
  17. data/spec/chunky_png/rmagick_spec.rb +3 -3
  18. data/spec/png_suite/background_chunks/bgai4a08.png +0 -0
  19. data/spec/png_suite/background_chunks/bgai4a16.png +0 -0
  20. data/spec/png_suite/background_chunks/bgan6a08.png +0 -0
  21. data/spec/png_suite/background_chunks/bgan6a16.png +0 -0
  22. data/spec/png_suite/background_chunks/bgbn4a08.png +0 -0
  23. data/spec/png_suite/background_chunks/bggn4a16.png +0 -0
  24. data/spec/png_suite/background_chunks/bgwn6a08.png +0 -0
  25. data/spec/png_suite/background_chunks/bgyn6a16.png +0 -0
  26. data/spec/png_suite/basic/basi0g01.png +0 -0
  27. data/spec/png_suite/basic/basi0g01.rgba +0 -0
  28. data/spec/png_suite/basic/basi0g02.png +0 -0
  29. data/spec/png_suite/basic/basi0g02.rgba +0 -0
  30. data/spec/png_suite/basic/basi0g04.png +0 -0
  31. data/spec/png_suite/basic/basi0g04.rgba +0 -0
  32. data/spec/png_suite/basic/basi0g08.png +0 -0
  33. data/spec/png_suite/basic/basi0g08.rgba +0 -0
  34. data/spec/png_suite/basic/basi0g16.png +0 -0
  35. data/spec/png_suite/basic/basi0g16.rgba +0 -0
  36. data/spec/png_suite/basic/basi2c08.png +0 -0
  37. data/spec/png_suite/basic/basi2c08.rgba +0 -0
  38. data/spec/png_suite/basic/basi2c16.png +0 -0
  39. data/spec/png_suite/basic/basi2c16.rgba +0 -0
  40. data/spec/png_suite/basic/basi3p01.png +0 -0
  41. data/spec/png_suite/basic/basi3p01.rgba +1 -0
  42. data/spec/png_suite/basic/basi3p02.png +0 -0
  43. data/spec/png_suite/basic/basi3p02.rgba +0 -0
  44. data/spec/png_suite/basic/basi3p04.png +0 -0
  45. data/spec/png_suite/basic/basi3p04.rgba +0 -0
  46. data/spec/png_suite/basic/basi3p08.png +0 -0
  47. data/spec/png_suite/basic/basi3p08.rgba +0 -0
  48. data/spec/png_suite/basic/basi4a08.png +0 -0
  49. data/spec/png_suite/basic/basi4a08.rgba +0 -0
  50. data/spec/png_suite/basic/basi4a16.png +0 -0
  51. data/spec/png_suite/basic/basi4a16.rgba +0 -0
  52. data/spec/png_suite/basic/basi6a08.png +0 -0
  53. data/spec/png_suite/basic/basi6a08.rgba +0 -0
  54. data/spec/png_suite/basic/basi6a16.png +0 -0
  55. data/spec/png_suite/basic/basi6a16.rgba +0 -0
  56. data/spec/png_suite/basic/basn0g01.png +0 -0
  57. data/spec/png_suite/basic/basn0g01.rgba +0 -0
  58. data/spec/png_suite/basic/basn0g02.png +0 -0
  59. data/spec/png_suite/basic/basn0g02.rgba +0 -0
  60. data/spec/png_suite/basic/basn0g04.png +0 -0
  61. data/spec/png_suite/basic/basn0g04.rgba +0 -0
  62. data/spec/png_suite/basic/basn0g08.png +0 -0
  63. data/spec/png_suite/basic/basn0g08.rgba +0 -0
  64. data/spec/png_suite/basic/basn0g16.png +0 -0
  65. data/spec/png_suite/basic/basn0g16.rgba +0 -0
  66. data/spec/png_suite/basic/basn2c08.png +0 -0
  67. data/spec/png_suite/basic/basn2c08.rgba +0 -0
  68. data/spec/png_suite/basic/basn2c16.png +0 -0
  69. data/spec/png_suite/basic/basn2c16.rgba +0 -0
  70. data/spec/png_suite/basic/basn3p01.png +0 -0
  71. data/spec/png_suite/basic/basn3p01.rgba +1 -0
  72. data/spec/png_suite/basic/basn3p02.png +0 -0
  73. data/spec/png_suite/basic/basn3p02.rgba +0 -0
  74. data/spec/{resources/indexed_4bit.png → png_suite/basic/basn3p04.png} +0 -0
  75. data/spec/png_suite/basic/basn3p04.rgba +0 -0
  76. data/spec/png_suite/basic/basn3p08.png +0 -0
  77. data/spec/png_suite/basic/basn3p08.rgba +0 -0
  78. data/spec/png_suite/basic/basn4a08.png +0 -0
  79. data/spec/png_suite/basic/basn4a08.rgba +0 -0
  80. data/spec/png_suite/basic/basn4a16.png +0 -0
  81. data/spec/png_suite/basic/basn4a16.rgba +0 -0
  82. data/spec/png_suite/basic/basn6a08.png +0 -0
  83. data/spec/png_suite/basic/basn6a08.rgba +0 -0
  84. data/spec/png_suite/basic/basn6a16.png +0 -0
  85. data/spec/png_suite/basic/basn6a16.rgba +0 -0
  86. data/spec/png_suite/broken/x00n0g01.png +0 -0
  87. data/spec/png_suite/broken/xcrn0g04.png +0 -0
  88. data/spec/png_suite/broken/xlfn0g04.png +13 -0
  89. data/spec/png_suite/chunk_ordering/oi1n0g16.png +0 -0
  90. data/spec/png_suite/chunk_ordering/oi1n2c16.png +0 -0
  91. data/spec/png_suite/chunk_ordering/oi2n0g16.png +0 -0
  92. data/spec/png_suite/chunk_ordering/oi2n2c16.png +0 -0
  93. data/spec/png_suite/chunk_ordering/oi4n0g16.png +0 -0
  94. data/spec/png_suite/chunk_ordering/oi4n2c16.png +0 -0
  95. data/spec/png_suite/chunk_ordering/oi9n0g16.png +0 -0
  96. data/spec/png_suite/chunk_ordering/oi9n2c16.png +0 -0
  97. data/spec/png_suite/compression_levels/z00n2c08.png +0 -0
  98. data/spec/png_suite/compression_levels/z03n2c08.png +0 -0
  99. data/spec/png_suite/compression_levels/z06n2c08.png +0 -0
  100. data/spec/png_suite/compression_levels/z09n2c08.png +0 -0
  101. data/spec/png_suite/filtering/f00n0g08.png +0 -0
  102. data/spec/png_suite/filtering/f00n0g08.rgba +0 -0
  103. data/spec/png_suite/filtering/f00n0g08_reference.png +0 -0
  104. data/spec/png_suite/filtering/f00n0g08_reference.rgba +0 -0
  105. data/spec/png_suite/filtering/f00n2c08.png +0 -0
  106. data/spec/png_suite/filtering/f00n2c08.rgba +0 -0
  107. data/spec/png_suite/filtering/f00n2c08_reference.png +0 -0
  108. data/spec/png_suite/filtering/f00n2c08_reference.rgba +0 -0
  109. data/spec/png_suite/filtering/f01n0g08.png +0 -0
  110. data/spec/png_suite/filtering/f01n0g08.rgba +0 -0
  111. data/spec/png_suite/filtering/f01n0g08_reference.png +0 -0
  112. data/spec/png_suite/filtering/f01n0g08_reference.rgba +0 -0
  113. data/spec/png_suite/filtering/f01n2c08.png +0 -0
  114. data/spec/png_suite/filtering/f01n2c08.rgba +0 -0
  115. data/spec/png_suite/filtering/f01n2c08_reference.png +0 -0
  116. data/spec/png_suite/filtering/f01n2c08_reference.rgba +0 -0
  117. data/spec/png_suite/filtering/f02n0g08.png +0 -0
  118. data/spec/png_suite/filtering/f02n0g08.rgba +0 -0
  119. data/spec/png_suite/filtering/f02n0g08_reference.png +0 -0
  120. data/spec/png_suite/filtering/f02n0g08_reference.rgba +0 -0
  121. data/spec/png_suite/filtering/f02n2c08.png +0 -0
  122. data/spec/png_suite/filtering/f02n2c08.rgba +0 -0
  123. data/spec/png_suite/filtering/f02n2c08_reference.png +0 -0
  124. data/spec/png_suite/filtering/f02n2c08_reference.rgba +0 -0
  125. data/spec/png_suite/filtering/f03n0g08.png +0 -0
  126. data/spec/png_suite/filtering/f03n0g08.rgba +0 -0
  127. data/spec/png_suite/filtering/f03n0g08_reference.png +0 -0
  128. data/spec/png_suite/filtering/f03n0g08_reference.rgba +0 -0
  129. data/spec/png_suite/filtering/f03n2c08.png +0 -0
  130. data/spec/png_suite/filtering/f03n2c08.rgba +0 -0
  131. data/spec/png_suite/filtering/f03n2c08_reference.png +0 -0
  132. data/spec/png_suite/filtering/f03n2c08_reference.rgba +0 -0
  133. data/spec/png_suite/filtering/f04n0g08.png +0 -0
  134. data/spec/png_suite/filtering/f04n0g08.rgba +0 -0
  135. data/spec/png_suite/filtering/f04n0g08_reference.png +0 -0
  136. data/spec/png_suite/filtering/f04n0g08_reference.rgba +0 -0
  137. data/spec/png_suite/filtering/f04n2c08.png +0 -0
  138. data/spec/png_suite/filtering/f04n2c08.rgba +0 -0
  139. data/spec/png_suite/filtering/f04n2c08_reference.png +0 -0
  140. data/spec/png_suite/filtering/f04n2c08_reference.rgba +0 -0
  141. data/spec/png_suite/gamma/g03n0g16.png +0 -0
  142. data/spec/png_suite/gamma/g03n2c08.png +0 -0
  143. data/spec/png_suite/gamma/g03n3p04.png +0 -0
  144. data/spec/png_suite/gamma/g04n0g16.png +0 -0
  145. data/spec/png_suite/gamma/g04n2c08.png +0 -0
  146. data/spec/png_suite/gamma/g04n3p04.png +0 -0
  147. data/spec/png_suite/gamma/g05n0g16.png +0 -0
  148. data/spec/png_suite/gamma/g05n2c08.png +0 -0
  149. data/spec/png_suite/gamma/g05n3p04.png +0 -0
  150. data/spec/png_suite/gamma/g07n0g16.png +0 -0
  151. data/spec/png_suite/gamma/g07n2c08.png +0 -0
  152. data/spec/png_suite/gamma/g07n3p04.png +0 -0
  153. data/spec/png_suite/gamma/g10n0g16.png +0 -0
  154. data/spec/png_suite/gamma/g10n2c08.png +0 -0
  155. data/spec/png_suite/gamma/g10n3p04.png +0 -0
  156. data/spec/png_suite/gamma/g25n0g16.png +0 -0
  157. data/spec/png_suite/gamma/g25n2c08.png +0 -0
  158. data/spec/png_suite/gamma/g25n3p04.png +0 -0
  159. data/spec/png_suite/metadata/cm0n0g04.png +0 -0
  160. data/spec/png_suite/metadata/cm7n0g04.png +0 -0
  161. data/spec/png_suite/metadata/cm9n0g04.png +0 -0
  162. data/spec/png_suite/other/ccwn2c08.png +0 -0
  163. data/spec/png_suite/other/ccwn3p08.png +0 -0
  164. data/spec/png_suite/other/cdfn2c08.png +0 -0
  165. data/spec/png_suite/other/cdhn2c08.png +0 -0
  166. data/spec/png_suite/other/cdsn2c08.png +0 -0
  167. data/spec/png_suite/other/cdun2c08.png +0 -0
  168. data/spec/png_suite/other/ch1n3p04.png +0 -0
  169. data/spec/png_suite/other/ch2n3p08.png +0 -0
  170. data/spec/png_suite/other/cs3n2c16.png +0 -0
  171. data/spec/png_suite/other/cs3n3p08.png +0 -0
  172. data/spec/png_suite/other/cs5n2c08.png +0 -0
  173. data/spec/png_suite/other/cs5n3p08.png +0 -0
  174. data/spec/png_suite/other/cs8n2c08.png +0 -0
  175. data/spec/png_suite/other/cs8n3p08.png +0 -0
  176. data/spec/png_suite/other/ct0n0g04.png +0 -0
  177. data/spec/png_suite/other/ct1n0g04.png +0 -0
  178. data/spec/png_suite/other/ctzn0g04.png +0 -0
  179. data/spec/png_suite/other/pp0n2c16.png +0 -0
  180. data/spec/png_suite/other/pp0n6a08.png +0 -0
  181. data/spec/png_suite/other/ps1n0g08.png +0 -0
  182. data/spec/png_suite/other/ps1n2c16.png +0 -0
  183. data/spec/png_suite/other/ps2n0g08.png +0 -0
  184. data/spec/png_suite/other/ps2n2c16.png +0 -0
  185. data/spec/png_suite/sizes/s01i3p01.png +0 -0
  186. data/spec/png_suite/sizes/s01n3p01.png +0 -0
  187. data/spec/png_suite/sizes/s02i3p01.png +0 -0
  188. data/spec/png_suite/sizes/s02n3p01.png +0 -0
  189. data/spec/png_suite/sizes/s03i3p01.png +0 -0
  190. data/spec/png_suite/sizes/s03n3p01.png +0 -0
  191. data/spec/png_suite/sizes/s04i3p01.png +0 -0
  192. data/spec/png_suite/sizes/s04n3p01.png +0 -0
  193. data/spec/png_suite/sizes/s05i3p02.png +0 -0
  194. data/spec/png_suite/sizes/s05n3p02.png +0 -0
  195. data/spec/png_suite/sizes/s06i3p02.png +0 -0
  196. data/spec/png_suite/sizes/s06n3p02.png +0 -0
  197. data/spec/png_suite/sizes/s07i3p02.png +0 -0
  198. data/spec/png_suite/sizes/s07n3p02.png +0 -0
  199. data/spec/png_suite/sizes/s08i3p02.png +0 -0
  200. data/spec/png_suite/sizes/s08n3p02.png +0 -0
  201. data/spec/png_suite/sizes/s09i3p02.png +0 -0
  202. data/spec/png_suite/sizes/s09n3p02.png +0 -0
  203. data/spec/png_suite/sizes/s32i3p04.png +0 -0
  204. data/spec/png_suite/sizes/s32n3p04.png +0 -0
  205. data/spec/png_suite/sizes/s33i3p04.png +0 -0
  206. data/spec/png_suite/sizes/s33n3p04.png +0 -0
  207. data/spec/png_suite/sizes/s34i3p04.png +0 -0
  208. data/spec/png_suite/sizes/s34n3p04.png +0 -0
  209. data/spec/png_suite/sizes/s35i3p04.png +0 -0
  210. data/spec/png_suite/sizes/s35n3p04.png +0 -0
  211. data/spec/png_suite/sizes/s36i3p04.png +0 -0
  212. data/spec/png_suite/sizes/s36n3p04.png +0 -0
  213. data/spec/png_suite/sizes/s37i3p04.png +0 -0
  214. data/spec/png_suite/sizes/s37n3p04.png +0 -0
  215. data/spec/png_suite/sizes/s38i3p04.png +0 -0
  216. data/spec/png_suite/sizes/s38n3p04.png +0 -0
  217. data/spec/png_suite/sizes/s39i3p04.png +0 -0
  218. data/spec/png_suite/sizes/s39n3p04.png +0 -0
  219. data/spec/png_suite/sizes/s40i3p04.png +0 -0
  220. data/spec/png_suite/sizes/s40n3p04.png +0 -0
  221. data/spec/png_suite/transparency/tbbn1g04.png +0 -0
  222. data/spec/png_suite/transparency/tbbn2c16.png +0 -0
  223. data/spec/png_suite/transparency/tbbn3p08.png +0 -0
  224. data/spec/png_suite/transparency/tbgn2c16.png +0 -0
  225. data/spec/png_suite/transparency/tbgn3p08.png +0 -0
  226. data/spec/png_suite/transparency/tbrn2c08.png +0 -0
  227. data/spec/png_suite/transparency/tbwn1g16.png +0 -0
  228. data/spec/png_suite/transparency/tbwn3p08.png +0 -0
  229. data/spec/png_suite/transparency/tbyn3p08.png +0 -0
  230. data/spec/png_suite/transparency/tp0n1g08.png +0 -0
  231. data/spec/png_suite/transparency/tp0n2c08.png +0 -0
  232. data/spec/png_suite/transparency/tp0n3p08.png +0 -0
  233. data/spec/png_suite/transparency/tp1n3p08.png +0 -0
  234. data/spec/png_suite_spec.rb +119 -0
  235. data/spec/spec_helper.rb +26 -16
  236. metadata +240 -25
  237. data/spec/resources/16x16_interlaced.png +0 -0
  238. data/spec/resources/16x16_non_interlaced.png +0 -0
  239. data/spec/resources/gray_10x10.png +0 -0
  240. data/spec/resources/gray_10x10_grayscale.png +0 -0
  241. data/spec/resources/gray_10x10_grayscale_alpha.png +0 -0
  242. data/spec/resources/gray_10x10_indexed.png +0 -0
  243. data/spec/resources/gray_10x10_truecolor.png +0 -0
  244. data/spec/resources/gray_10x10_truecolor_alpha.png +0 -0
  245. 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
- - 10
8
- - 5
9
- version: 0.10.5
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-10-22 00:00:00 +02:00
17
+ date: 2010-11-01 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- prerelease: false
22
- type: :development
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
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
- version_requirements: &id002 !ruby/object:Gem::Requirement
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
- requirement: *id002
44
- name: rspec
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/resources/16x16_interlaced.png
94
- - spec/resources/16x16_non_interlaced.png
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.6
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