Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/prawn/images/png.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def build_pdf_object(document)
if palette.empty?
obj.data[:ColorSpace] = color
else
# embed the colour palette in the PDF as a object stream
# embed the colour palette in the PDF as an object stream
palette_obj = document.ref!({})
palette_obj << palette

Expand Down Expand Up @@ -264,7 +264,7 @@ def build_pdf_object(document)
end

# For PNG color types 4 and 6, the transparency data is stored as
# a alpha channel mixed in with the main image data. The PNG class
# an alpha channel mixed in with the main image data. The PNG class
# separates it out for us and makes it available via the alpha_channel
# attribute
if alpha_channel?
Expand Down
Loading