repair for picture-to-bitmap conversion
This commit is contained in:
parent
c8dc421ec3
commit
2b902d0eda
|
@ -50,7 +50,8 @@
|
|||
(define/public (convert r d)
|
||||
(case r
|
||||
[(png-bytes)
|
||||
(define bm (make-bitmap w h))
|
||||
(define bm (make-bitmap (inexact->exact (ceiling w))
|
||||
(inexact->exact (ceiling h))))
|
||||
(define dc (send bm make-dc))
|
||||
(draw dc 0 0 0 0 w h 0 0 #f)
|
||||
(define b (open-output-bytes))
|
||||
|
|
Loading…
Reference in New Issue
Block a user