bevy / photo-editor-android

Photo Editor SDK contains a lot of features like edit, scale, rotate and draw on images like Instagram stories.
MIT License
548 stars 189 forks source link

Black screen on Samsung J5 #7

Open mcastro-dev opened 7 years ago

mcastro-dev commented 7 years ago

Device: Samsung Galaxy J5 Model number: SM-J500M

Using the lib's app in the above mentioned device, I get a black screen wether I import image from gallery or take a photo using the camera in the app.

Tested also in a Motorola G5 and the app worked fine (no black screen).

nickghodke commented 6 years ago

Device: Redmi Model number: Redmi 4A Using this lib's app in the above mentioned device, Even I got a black screen whether I import image from gallery or take a photo using the camera in the app.

rupesh0895 commented 5 years ago

Device Samsung s9 using this lib package this app and mobile are fully off screen and not work, then I try to Redmi 4A,and Lenovo till not work at any device.. don't used it

nickghodke commented 5 years ago

It worked on redmi 4A by changing bitmap sampleInSize to 4 in PhotoEditor Activity.

sreekanth100khere commented 5 years ago

@nickghodke Any clue on why this magic number 4 worked? and more information about the problem/fix?

nickghodke commented 5 years ago

Did it worked on your phone i actually dont remeber it but i randomly tried changing bitmap sampleInsize from -1 to any positive number and it worked for me

sreekanth100khere commented 5 years ago

@nickghodke It will work for any number, but ideally you are supposed use a power of 2. Else the number you are using will be rounded off to the nearest power of 2.