Permalink
Browse files

Pass options to to_image from to_png and to_datastream

  • Loading branch information...
1 parent 41f18e8 commit b931dae553ed84958855c818f0ef41fa0119d1bb @toretore toretore committed Oct 4, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/barby/outputter/chunky_png_outputter.rb
@@ -54,13 +54,13 @@ def to_image(opts={})
def to_datastream(*a)
- to_image.to_datastream
+ to_image(*a).to_datastream
end
#Renders the barcode to a PNG image
def to_png(*a)
- to_datastream.to_s
+ to_datastream(*a).to_s
end

0 comments on commit b931dae

Please sign in to comment.