exif
What is the best EXIF library for .Net?
If you’re willing to use an open-source library, may I humbly suggest one of my own creation? The metadata-extractor project has been alive and well since 2002 for Java, and is now available for .NET. Open source (Apache 2.0) Heavily tested and widely used Supports many image types (JPEG, TIFF, PNG, WebP, GIF, BMP, ICO, … Read more
reading android jpeg EXIF metadata from picture callback
To read metadata/EXIF from image byte[] (useful for Camera.takePicture()) using version 2.9.1 of the metadata extraction library in Java by Drew Noakes: try { // Extract metadata. Metadata metadata = ImageMetadataReader.readMetadata(new BufferedInputStream(new ByteArrayInputStream(imageData)), imageData.length); // Log each directory. for(Directory directory : metadata.getDirectories()) { Log.d(“LOG”, “Directory: ” + directory.getName()); // Log all errors. for(String error : … Read more
Does PNG support metadata fields like Author, Camera Model, etc?
section 11.3.4.2 of the PNG spec gives a list of pre-defined meta tags (keywords) http://www.w3.org/TR/PNG/#11textinfo you can add as many other meta tags/fields as you would like. as for how, programmatically, that depends on the language you’re using!
Problem setting exif data for an image
The following blog post is where I got my answer when I had issues with modifying and saving Exif data Caffeinated Cocoa. This works on iOS. Here is my test code for writing Exif and GPS data. It pretty much a copy and paste of the code from the above blog. I am using this … Read more
Does PNG contain EXIF data like JPG?
Edit: Version 1.5.0 (July 2017) of the Extensions to the PNG 1.2 Specification has finally added an EXIF chunk. It remains to be seen if encoders-decoders begin to support it. Original: PNG does not embed EXIF info. It allows, however, to embed metadata “chunks” inside the image. Some of the standardized chunks correspond to a … Read more
Images taken with ACTION_IMAGE_CAPTURE always returns 1 for ExifInterface.TAG_ORIENTATION on some Gingerbread devices
Ok guys, it seems like this bug for android won’t be fixed for a while. Although I found a way to implement the ExifInformation so that both devices (ones with proper Exif tag, and also improper exif tags work together).. So the issue is on some (newer) devices, there’s a bug that makes the picture … Read more