Skip to content

ImageEditingManager.cropImage does not work correctly after upgrading from 0.15 to 0.17 #5113

@ms88privat

Description

@ms88privat

My App takes pictures with https://github.com/lwansbrough/react-native-camera (and the option Camera.constants.CaptureTarget.disk).

In 0.17 when I'm trying to crop the image via ImageEditingManager.cropImage(url, cropData), it doesn't work correctly anymore. It will result in a black or sometimes some different color image. For me, it looks like, it shows only one pixel of it. I tried all different resizeModes and imageSizes to display it, but it looks always the same. Images from the assets library still work fine.

url = '/var/mobile/Containers/Data/Application/AA2AEEF1-85A1-4268-9129-D65C671330D2/Documents/F8749E02-6818-4CDB-8C15-83C96132C945.jpg'

Anybody know what changed here?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions