Oh wait!
I see, this would only crop my bitmap from the top and from the left.
I need to cut off the same number of pixels from the right and bottom
too... :/

On Jan 15, 6:55 pm, crem <bernd.warm...@gmail.com> wrote:
> That's just perfect!
> Thank you :)
>
> On Jan 15, 6:46 pm, Kostya Vasilyev <kmans...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Bernd,
>
> > This should help:
>
> >http://developer.android.com/reference/android/graphics/Bitmap.html
>
> > static Bitmap createBitmap(Bitmap source, int x, int y, int width, int
> > height)
> > Returns an immutable bitmap from the specified subset of the source bitmap.
>
> > -- Kostya
>
> > 2011/1/15 crem <bernd.warm...@gmail.com>
>
> > > Hi i need  to crop a bitmap.
> > > Especially, I need to cut of a fixed number of pixels from the top,
> > > left, right and bottom of the bitmap.
> > > Does android provide any methods for doing this?
>
> > > greets
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs
> > >  cr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en

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

Reply via email to