Neks  Minor Neks Minor - 6 months ago 34
Android Question

How to use Picasso library to crop a picture not from the middle but from the top?

There is a method

- it crops in the middle. So is there any similar method, like
for example?


You can always apply a custom transformation to the fetched Bitmap:

Picasso.with(context).load(uri).transform(new Transformation() {
        public Bitmap transform(Bitmap source) {
            ///Do what you want with bitmap
            return source;

        public String key() {
            return null;