Giter Site home page Giter Site logo

cropview screen is black about ucrop HOT 9 CLOSED

yalantis avatar yalantis commented on May 18, 2024
cropview screen is black

from ucrop.

Comments (9)

HosseinKurd avatar HosseinKurd commented on May 18, 2024

In My Case it's Because You selected Big Image Size And It takes some Second To Load It
Wait Some Seconds (10 Seconds) And Tell Me What Happeneds
But Some times it shows Nothing else Black screen

from ucrop.

shliama avatar shliama commented on May 18, 2024

I don't really know what kind of images you pick, but for me it never takes more than a second to show the image even if I pick some with 4k resolution. (I was testing on wide range of devices, including old bricks)

from ucrop.

HosseinKurd avatar HosseinKurd commented on May 18, 2024

it happened some times
my device is HTC Desire 626 G+ Android 4.4.2

I Test 'Many' Images And After Selecting Pictures From Camera Directory It Happened

is it because heap memory ?
im myandroid manifest android:largeHeap="true"
so you can test it with fasle

from ucrop.

aelimill avatar aelimill commented on May 18, 2024

Same here after upgrading to 1.3.+ I had a lot of messages in logcat about freeing memory (repeated messages freed a couple of megabytes). I think this is related to background thread loading, when something goes wrong and it loops again and again.

from ucrop.

shliama avatar shliama commented on May 18, 2024

Well, it tries to load downsampled Bitmap - if it fails with OOM - library will try to load even more downsampled Bitmap and so on.

from ucrop.

arash-jahani avatar arash-jahani commented on May 18, 2024

It happened sometimes i launch the app in every time when i pick an image , but after relaunch the app it's never happened on this launched instance.
Size of image is not the problem, because i pick images with small size

from ucrop.

shliama avatar shliama commented on May 18, 2024

Unfortunately I cannot reproduce the issue. Can you give me stacktrace or something?

from ucrop.

issuetree avatar issuetree commented on May 18, 2024

I had same this issue. Test device is Samsung Galaxy Player 5.0 on Android 2.3.6. but other devices are working nice!

from ucrop.

nmghelani avatar nmghelani commented on May 18, 2024

I have changed color of widgets any layout as my app has dark theme. I have changed every color but still bottom widget color remains black and as background is also black, they are being hidden. I've attached ss of my ucrop activity. My color.xml is:
<color name="ucrop_color_toolbar">#000000</color> <color name="ucrop_color_statusbar">#ab000000</color> <color name="ucrop_color_toolbar_widget">#FFFFFF</color> <color name="ucrop_color_widget">#FFFFFF</color> <color name="ucrop_color_widget_active">#FFFFFF</color> <color name="ucrop_color_widget_background">#000000</color> <color name="ucrop_color_widget_text">#FFFFFF</color> <color name="ucrop_color_progress_wheel_line">#FFFFFF</color> <color name="ucrop_color_crop_background">#FFFFFF</color> <color name="ucrop_color_default_crop_grid">#80ffffff</color> <color name="ucrop_color_default_crop_frame">#ffffff</color> <color name="ucrop_color_default_dimmed">#8c000000</color> <color name="ucrop_color_default_logo">#FFFFFF</color>
ss1

from ucrop.

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.