use the pre-multiplied alphas when comparing images for 2htdp/image
original commit: 8ccf50b84bf3b25b2c4ddbe4dbd6ef088c6a9cd7
This commit is contained in:
parent
0fb6c62e45
commit
400906e376
|
@ -281,7 +281,7 @@ has been moved out).
|
|||
(send bdc set-bitmap bm)
|
||||
(send bdc erase)
|
||||
(render-image obj bdc 0 0)
|
||||
(send bdc get-argb-pixels 0 0 (send bm get-width) (send bm get-height) bytes))
|
||||
(send bdc get-argb-pixels 0 0 (send bm get-width) (send bm get-height) bytes #f #t))
|
||||
|
||||
;; this could render the image into a bitmap and then get the hash code of the bytes
|
||||
;; cannot render the tree into a string and then get the hash code of that string
|
||||
|
|
Loading…
Reference in New Issue
Block a user