Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated 16bit.alpha to use an 8-bit alpha channel

  • Loading branch information...
commit 6d2f485ae1a0624387415570bfa2f55655ebb1b0 1 parent b512a01
@bradediger bradediger authored
Showing with 1 addition and 0 deletions.
  1. BIN  data/images/16bit.alpha
  2. +1 −0  spec/png_spec.rb
View
BIN  data/images/16bit.alpha
Binary file not shown
View
1  spec/png_spec.rb
@@ -204,6 +204,7 @@
before(:each) do
@filename = "#{Prawn::BASEDIR}/data/images/16bit.png"
@data_filename = "#{Prawn::BASEDIR}/data/images/16bit.dat"
+ # alpha channel truncated to 8-bit
@alpha_data_filename = "#{Prawn::BASEDIR}/data/images/16bit.alpha"
@img_data = File.binread(@filename)
end

0 comments on commit 6d2f485

Please sign in to comment.
Something went wrong with that request. Please try again.