File handling cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9973 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -57,12 +57,7 @@ module RFPDF
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user