alexrabin/FlutterNativeDragAndDrop

[ios] Dropping a PNG will give a PNG path but JPEG content

Closed this issue ยท 6 comments

See below method, the ext is taken from the userImageUrl, but the content is always image.jpegData. Ideally we can get the image data in original format without conversion, but if not at least the extension should be correctly set to JPEG.

func saveImageURL(userImageURL: URL) -> String? {

Good find! When I have a moment I'll look into this more.

@moffatman please take a look at pull request #13 at your earliest connivence.

Looks ok ๐Ÿ‘

@moffatman Merged into main. Test out version 0.0.5, let me know if it works

Yep, problem is resolved in 0.0.5. Thanks for the quick fix ๐Ÿ˜

No problem ๐Ÿ‘