How to merge images?

by OiuNt » Thu, 03 Sep 2009 15:02:01 GMT


Sponsored Links
 Hi everyone,
    in my application, i want merge serveral images dynamically
accroding to the user's selection, and the merged image will be
scrolled and zoomed.
    i extends View to OverlayImageView, which has the properties
background Bitmap, layers Bitmap and Matrix. in the onDraw event, i
draw the background Bitmap and layers bitmap sequently by the method
canvas.canvas.drawBitmap(image, imgMatrix, null).
    however, if all the bitmaps are stored in memery, it leads to the
Out Of Memory problem. so, i have to read the image in the onDraw
event by the method BitmapFactory.decodeResource, but it's slow to
response user's operation, for example, the scroll and zoom the image
will leads to the onDraw event.
    so, does anyone have some good idears ? thanks!!


    OiuNt


--~--~---------~--~----~------------~-------~--~----~



How to merge images?

by OiuNt » Thu, 03 Sep 2009 15:14:24 GMT


 so my solution is to merge the images into one image at the beginning
and store this image in the memory. when the onDraw is called, the
canvas can only draw this merged image.

however, i can't find out how to merge images.





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Developing and debugging on Logitech Revue

Hi,

Anyone using Logitech Revue for GTV's development? I mean - are these
any restrictions (Logitech ships within US only for now) or once can i.e.
debug/test their apps outside US w/o much hassle? Any info appreciated

-- 

2. Android Flicker Login

Hi all,
I am newbie with flickr api on adroid.
How to login flickr on my android program.
- I have a account on flickr (username,password)
- How to login it on android.
- and then i can get photo.
Who can share me sample code about it.
Thank you very much.

--

3. Ask rooting di evo

4. Ask email milis

5. Android market free app unchanged for the last 4 days

6. Pilih yang mana coba ?

7. gps alternatif