Neks  Minor Neks Minor - 1 year ago 66
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?

Answer Source

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;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download