Permalink
Browse files

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

  • Loading branch information...
1 parent b512a01 commit 6d2f485ae1a0624387415570bfa2f55655ebb1b0 @bradediger bradediger committed Apr 18, 2010
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.