Hey,
I would like to transform  and crop an Bitmap in android 2.1

I got 4 source points (creating a polygon) and 4 destination points
(creating a rectangle). With them i created a matrix to transform the
image.

 image = Bitmap.createBitmap(image, 0, 0, width, height, matrix,
true);

After the transformation i would like to use the source points to crop
the image but i can not determine the location of the points in the
new image.

neither matrix.mapPoints(src) nor matrix.mapVector(src) calculates the
correct points.

I would be pleased if anybody can provide some code.

thx for your help

sincerely
pascal

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to