CaiJingLong / dart_image_size_getter

Use dart file api to get image size, needn't use decode. just read the metadata.
Apache License 2.0
64 stars 29 forks source link

Failed to create image decoder with message 'unimplemented' #33

Closed dreammdh closed 1 year ago

dreammdh commented 1 year ago

Version

2.1.2

Platforms

Android

Device Model

none

flutter info

Failed to create image decoder with message 'unimplemented'

How to reproduce?

final thumbPathFile = File(thumbPath); final size = ImageSizeGetter.getSize(FileInput(thumbPathFile)); print('图片宽:${size.width}'); print('图片高:${size.height}');

Logs

Failed to create image decoder with message 'unimplemented'

Example code (optional)

final thumbPathFile = File(thumbPath);
final size = ImageSizeGetter.getSize(FileInput(thumbPathFile));
print('图片宽:${size.width}');
print('图片高:${size.height}');

Contact

1559664966@qq.com

CaiJingLong commented 1 year ago

Provider your image here, and more logs.