Giter VIP home page Giter VIP logo

Comments (7)

ArthurHub avatar ArthurHub commented on August 18, 2024

Just tested it in the sample app, the cropped image correctly contained alpha pixels in the shown crop result image view.
It may be a device specific issue, can you make sure you see the issue, maybe describe how you tested it.
thx.

from android-image-cropper.

bpappin avatar bpappin commented on August 18, 2024

Hmm, let me check it again.
Can you attach the image you used for testing?

from android-image-cropper.

bpappin avatar bpappin commented on August 18, 2024

Try with this image. This is the one that gave me a problem, and I'm now wondering if the type of image might a factor.

vl9ujqeazi871b9ikj4u

from android-image-cropper.

ArthurHub avatar ArthurHub commented on August 18, 2024

tried the image and it also works...
did you saved the image or viewed the resulting bitmap in app?
Side note, the image is too small enough that the library can use the loaded bitmap for cropping so it doesn't use BitmapRegionDecoder

from android-image-cropper.

bpappin avatar bpappin commented on August 18, 2024

OK, let me investigate. Sounds like it might not be an issues, but I'll feel better once I can identify the issue.

from android-image-cropper.

bpappin avatar bpappin commented on August 18, 2024

OK, i have confirmed that the cropper at least is not causing the alpha to be discarded.

I modified the library a little bit to use a checkered background, so I could more easily see transparencies, and since it is somewhat useful, I left it in the pull request.

from android-image-cropper.

ArthurHub avatar ArthurHub commented on August 18, 2024

cool, will add it, thx.

from android-image-cropper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.