Advertisement
Guest User

Delphi Roessler

a guest
Mar 11th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.50 KB | None | 0 0
  1. procedure TAccessCameraAppForm.WriteEXIF(const AFileName:JString);
  2. var
  3.   LEXIF: JExifInterface;
  4. //  LLat,LLong: JString;       TJavaArray<Single>;
  5.   LStream: JFileInputStream;
  6. begin
  7.   LEXIF := TJExifInterface.JavaClass.init(Afilename);
  8.   LEXIF.setAttribute(TJExifInterface.JavaClass.TAG_DATETIME_ORIGINAL,strData);
  9.   LEXIF.setAttribute(TJExifInterface.JavaClass.TAG_GPS_LATITUDE_REF,LLat);
  10.   LEXIF.setAttribute(TJExifInterface.JavaClass.TAG_GPS_LONGITUDE_REF,LLong);
  11.   LEXIF.saveAttributes;
  12.   end;
  13. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement