@@ -2981,8 +2981,9 class TCPDF | |||||
2981 | if (colspace=='Indexed' and pal.empty?) |
|
2981 | if (colspace=='Indexed' and pal.empty?) | |
2982 | Error('Missing palette in ' + file); |
|
2982 | Error('Missing palette in ' + file); | |
2983 | end |
|
2983 | end | |
2984 | f.close |
|
|||
2985 | return {'w' => w, 'h' => h, 'cs' => colspace, 'bpc' => bpc, 'f'=>'FlateDecode', 'parms' => parms, 'pal' => pal, 'trns' => trns, 'data' => data} |
|
2984 | return {'w' => w, 'h' => h, 'cs' => colspace, 'bpc' => bpc, 'f'=>'FlateDecode', 'parms' => parms, 'pal' => pal, 'trns' => trns, 'data' => data} | |
|
2985 | ensure | |||
|
2986 | f.close | |||
2986 | end |
|
2987 | end | |
2987 |
|
2988 | |||
2988 | # |
|
2989 | # |
General Comments 0
You need to be logged in to leave comments.
Login now