flutter_native_image icon indicating copy to clipboard operation
flutter_native_image copied to clipboard

Stop reading file, tag not defined...

Open jclink opened this issue 5 years ago • 2 comments

Not so much of an issue, but I was getting a lot of system messages such as failed to close resource, tag not defined, stop reading file-offset may cause infinite loop...

I cleared them all by: changing import to the androidx ExifInterface. changing the dependency to: implementation 'androidx.exifinterface:exifinterface:1.1.0-rc01' in the build gradle. Changed tag 'IsoSpeedRatings' to 'PhotographicSensitivity'. Added calls to Reset(), Close() for the ByteArrayOutputStream bos object.

None of these were causing errors or crashing the app, so this is more of an FYI rather than an issue.

jclink avatar Oct 28 '19 14:10 jclink

I am leaving this open for some one wanting to contribute to this library as a good first issue.

Thanks for bringing this to my attention.

btastic avatar Jan 28 '20 21:01 btastic

Hi @jclink, Why did you change ISOSpeedRatings to PhotographicSensitivity? Also why were you calling reset for the ByteArrayOutputStream, shouldn't it be garbage collected as all references have been discarded as soon as the method finishes? Many thanks

JamesMcIntosh avatar Nov 12 '22 08:11 JamesMcIntosh