Home | History | Annotate | Download | only in imagebackend

Lines Matching refs:Exif

25 import com.android.camera.Exif;
28 import com.android.camera.exif.ExifInterface;
91 * Encapsulates the required EXIF Tag parse for Image processing.
93 * @param exif EXIF data from which to extract data.
96 public Map<Integer, Integer> exifGetMinimalTags(ExifInterface exif) {
99 ExifInterface.getRotationForOrientationValue((short) Exif.getOrientation(exif)));
100 map.put(ExifInterface.TAG_PIXEL_X_DIMENSION, exif.getTagIntValue(
102 map.put(ExifInterface.TAG_PIXEL_Y_DIMENSION, exif.getTagIntValue(
128 // encoding __OR__ EXIF -- we don't know. We need to read
129 // the EXIF setting from byte payload and the EXIF reader
147 // For JPEG, always use the EXIF orientation as ground
154 exifData = Exif.getExif(compressedData.array());
184 "Cannot parse EXIF for image dimensions, passing 0x0 dimensions");
187 // calculate crop from exif info with image proxy width/height
193 // calculate crop from exif info with combined rotation
198 // Ignore the device rotation on ImageToProcess and use the EXIF from
337 // EXIF tags are rewritten so that output from this task is normalized.
341 final ExifInterface exif = createExif(Optional.fromNullable(exifData), resultImage,
343 mSession.getCollector().decorateAtTimeWriteToDisk(exif);
345 exif);
392 * Wraps EXIF Interface for JPEG Metadata creation. Can be overridden for
395 * @param image Metadata for a jpeg image to create EXIF Interface
396 * @return the created Exif Interface
400 ExifInterface exif;
402 exif = exifData.get();
404 exif = new ExifInterface();
409 new ExifUtil(exif).populateExif(Optional.of(image),
412 new ExifUtil(exif).populateExif(Optional.of(image),
416 return exif;