flutter_native_image
flutter_native_image copied to clipboard
Stop reading file, tag not defined...
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.
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.
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