mirror of
https://github.com/apache/cordova-android.git
synced 2025-04-01 20:32:43 +08:00
Spelling: aperture
This commit is contained in:
parent
4f5515fde3
commit
17e739f68a
@ -23,7 +23,7 @@ import java.io.IOException;
|
|||||||
import android.media.ExifInterface;
|
import android.media.ExifInterface;
|
||||||
|
|
||||||
public class ExifHelper {
|
public class ExifHelper {
|
||||||
private String aperature = null;
|
private String aperture = null;
|
||||||
private String datetime = null;
|
private String datetime = null;
|
||||||
private String exposureTime = null;
|
private String exposureTime = null;
|
||||||
private String flash = null;
|
private String flash = null;
|
||||||
@ -70,7 +70,7 @@ public class ExifHelper {
|
|||||||
* Reads all the EXIF data from the input file.
|
* Reads all the EXIF data from the input file.
|
||||||
*/
|
*/
|
||||||
public void readExifData() {
|
public void readExifData() {
|
||||||
this.aperature = inFile.getAttribute(ExifInterface.TAG_APERTURE);
|
this.aperture = inFile.getAttribute(ExifInterface.TAG_APERTURE);
|
||||||
this.datetime = inFile.getAttribute(ExifInterface.TAG_DATETIME);
|
this.datetime = inFile.getAttribute(ExifInterface.TAG_DATETIME);
|
||||||
this.exposureTime = inFile.getAttribute(ExifInterface.TAG_EXPOSURE_TIME);
|
this.exposureTime = inFile.getAttribute(ExifInterface.TAG_EXPOSURE_TIME);
|
||||||
this.flash = inFile.getAttribute(ExifInterface.TAG_FLASH);
|
this.flash = inFile.getAttribute(ExifInterface.TAG_FLASH);
|
||||||
@ -102,8 +102,8 @@ public class ExifHelper {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.aperature != null) {
|
if (this.aperture != null) {
|
||||||
this.outFile.setAttribute(ExifInterface.TAG_APERTURE, this.aperature);
|
this.outFile.setAttribute(ExifInterface.TAG_APERTURE, this.aperture);
|
||||||
}
|
}
|
||||||
if (this.datetime != null) {
|
if (this.datetime != null) {
|
||||||
this.outFile.setAttribute(ExifInterface.TAG_DATETIME, this.datetime);
|
this.outFile.setAttribute(ExifInterface.TAG_DATETIME, this.datetime);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user