btastic / flutter_native_image

Native Flutter Image tools
Other
340 stars 137 forks source link

compressImage with specific size shows inverted results #74

Closed aditya21 closed 3 years ago

aditya21 commented 4 years ago

My code

File _newFile;

if (properties.width > 3840 && properties.height > 2160) {
      _newFile = await FlutterNativeImage.compressImage(item.path, quality: 100, targetWidth: 3840, targetHeight: 2160);
}

The output image shows height 3840 and width 2160.

greymag commented 4 years ago

Same issue https://github.com/btastic/flutter_native_image/issues/72#issuecomment-702680560

btastic commented 3 years ago

@greymag is probably right. I'm closing this one to keep it clean.