I’m just a beginner with android. I want to divide a bitmap image into chunks and then display the image in the same way but divided. is this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Instead of trying to break the image up into chunks you should just use:
This will draw parts of the image. So to give the effect of breaking it up you are really just using the
srcanddestrectangles to draw specified parts of the images. Wheresrcis the rectangle in local image coordinates of the part you want to draw anddestis the rectangle used to position it on the screen.