B4A Library JpegUtils library gives access to Exif data

daemon

Active Member
Licensed User
Longtime User
Oh!

Initialize takes a file and DecodeThumbnail takes Byte array. Why is it so?
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
Hi @agraham - in doing some testing with an existing app running on an Android N device, I'm finding that calling the .Initialize method is causing the following error:

java.io.FileNotFoundException: AssetsDir/pet2.png (No such file or directory)

It doesn't happen on previous versions of Android & it doesn't happen if I just initialize & display a bitmap without trying to use your library. Looking at the Android Developer documentation for ExifInterface, I notice there have been some changes for Android N so I'm wondering if maybe they have changed something in the constructor you use in the library?


UPDATE: I don't think it's an issue with the constructor because if I copy the file to Files.DirInternal, then call the exif functions it works fine. It seems to be something that the library (or the API) doesn't like about the Files.DirAssets directory all of a sudden.

Thanks - Colin.
 
Last edited:

b2mvga

Member
Licensed User
Longtime User
Sorry open this old topic... but... I search in all page and not found the library file download link...

I need use the ExifData in my app but I cant´t find the jpegutils library...
 

mjcoon

Well-Known Member
Licensed User
Did you ever get it sorted, or gave up? (Now I realise why I so often see positions in EXIF botched up!)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…