Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

compressed image #60

Open
Yasir-Basharat opened this issue Dec 11, 2019 · 1 comment
Open

compressed image #60

Yasir-Basharat opened this issue Dec 11, 2019 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed iOS Issue on iOS specific devices

Comments

@Yasir-Basharat
Copy link

I have saved PNG image in Application Support folder in iOS. When i try to get the properties of the image it always return width 0 and height 0. Also when i try to save compressed image it save with 0 size even though i have hard coded the width and height.

ImageProperties properties =
                await FlutterNativeImage.getImageProperties(existingImage.path);
File compressedFile = await FlutterNativeImage.compressImage(
                existingImage.path,
                percentage: 100,
                quality: 100,
                targetWidth: 500,
                targetHeight: 300);
@btastic
Copy link
Owner

btastic commented Jan 28, 2020

I cannot repro this as I don't have an iOS device anymore.

I tagged it and hope for some help from outside.

@btastic btastic added help wanted Extra attention is needed bug Something isn't working iOS Issue on iOS specific devices labels Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed iOS Issue on iOS specific devices
Projects
None yet
Development

No branches or pull requests

2 participants