Commit 3ddfc086 authored by Olaf Rosendahl's avatar Olaf Rosendahl 💻
Browse files

Fix image analyze location

parent 3816dc01
Pipeline #82558 passed with stage
in 22 seconds
......@@ -44,8 +44,8 @@ public final class ImageAnalyzer {
photo.setExposureTime((String) exif.get(0x829A));
photo.setAperture((String) exif.get(0x9202));
if (coord != null) {
photo.setLatitude(coord[0]);
photo.setLongitude(coord[1]);
photo.setLongitude(coord[0]);
photo.setLatitude(coord[1]);
}
photo.setHeight(image.getHeight());
photo.setWidth(image.getWidth());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment