Super imposition?

hackhack

Active Member
Licensed User
Longtime User
I have an imageview with a picture. I have a PNG with transparent areas, is it possible to overlay on the imageview?

(ie, really compose the two, keeping the new areas from the PNG and respecting the transparent areas)
 
you can do it with the .drawbitmap method of the canvas object

Code: Copy
dim cnv as canvas
cnv.initialize(myimageview)
cnv.drawbitmap(...
 
Upvote 0
It was a NullPointerException, apparently you can't draw on the imageview until it has been AddView'ed to something else.

However even though the source files are the same size the copy looks bigger (when placed on the other picture)

Can I resize a bitmap with transparencies (png source) and have the transparent areas remain or will they disappear?
 
Upvote 0
Back
Top