Cropping

All your problems with Audio, Video and Images.

Cropping

Postby myandport » Wed Jun 03, 2009 11:48 am

I want to crop an image but cudnt find how to do that......So please help me out.................
myandport
Freshman
Freshman
 
Posts: 6
Joined: Thu May 21, 2009 6:36 am

Top

Postby serkan.dogantekin » Thu Jun 04, 2009 6:16 pm

if you have a Bitmap object for the main image, you can create cropped image as

Bitmap croppedImage = Bitmap.createBitmap(sourceImage, <x coordinate of the first pixel>, <y coordinate of the first pixel>, width, height);
serkan.dogantekin
Developer
Developer
 
Posts: 27
Joined: Thu Jun 04, 2009 6:12 pm
Location: Istanbul/Turkey

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Google Feedfetcher and 11 guests