Skip to content

Commit

Permalink
Include the physical chunk when enumerating
Browse files Browse the repository at this point in the history
  • Loading branch information
kobsy committed Nov 9, 2016
1 parent bdcce73 commit c169a7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/chunky_png/datastream.rb
Expand Up @@ -126,6 +126,7 @@ def each_chunk
other_chunks.each { |chunk| yield(chunk) }
yield(palette_chunk) if palette_chunk
yield(transparency_chunk) if transparency_chunk
yield(physical_chunk) if physical_chunk
data_chunks.each { |chunk| yield(chunk) }
yield(end_chunk)
end
Expand Down

0 comments on commit c169a7b

Please sign in to comment.