Mercurial > hg > soundsoftware-site
diff vendor/plugins/rfpdf/lib/core/rmagick.rb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | cbce1fd3b1b7 |
children |
line wrap: on
line diff
--- a/vendor/plugins/rfpdf/lib/core/rmagick.rb Fri Feb 24 18:36:29 2012 +0000 +++ b/vendor/plugins/rfpdf/lib/core/rmagick.rb Fri Feb 24 19:09:32 2012 +0000 @@ -57,8 +57,13 @@ end out['bits'] = image.channel_depth + File.open( TCPDF.k_path_cache + File::basename(filename), 'w'){|f| + f.binmode + f.print image.to_blob + f.close + } out end -end \ No newline at end of file +end