Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_file/test_images/README.txt

1.5 KiB, 1 run

created by r1870400018:17738, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1EXIF test fixtures
2==================
3
4Two 24 by 16 pixel JPEGs, one in each TIFF byte order, carrying a known set of tags. They are
5the external oracle for tests/exif.rs: the metadata was written by exiftool, and the values the
6tests assert are the values exiftool reports back.
7
8Regenerate with:
9
10 magick -size 24x16 gradient:red-blue -quality 60 base.jpg
11 for ord in MM II; do
12 cp base.jpg "exif_$ord.jpg"
13 exiftool -overwrite_original -q \
14 -ExifByteOrder=$ord \
15 -Make="Oxide Optics" \
16 -Model="Model 7 Field" \
17 -Orientation#=6 \
18 -DateTimeOriginal="2019:04:07 13:45:02" \
19 -CreateDate="2019:04:07 13:45:03" \
20 -SubSecTimeOriginal=880 \
21 -ExposureTime=1/250 \
22 -FNumber=2.8 \
23 -ISO=400 \
24 -FocalLength=35.0 \
25 -ExifImageWidth=24 \
26 -ExifImageHeight=16 \
27 -LensModel="35mm f/2 Prime" \
28 -GPSLatitude=-31.9534277 -GPSLatitudeRef=S \
29 -GPSLongitude=115.8657722 -GPSLongitudeRef=E \
30 -GPSAltitude=45.67 -GPSAltitudeRef=Below \
31 "exif_$ord.jpg"
32 done
33 rm base.jpg
34
35Written with exiftool 13.50 and ImageMagick 7. The composite values that tool reports for the
36result, and which tests/exif.rs asserts, are:
37
38 GPS Latitude : -31.9534276999917
39 GPS Longitude : 115.865772200058
40 GPS Altitude : -45.67
41 Exposure Time : 0.004
42 Image Width : 24 (from the start of frame marker, not from EXIF)
43 Image Height : 16
44
45The subject matter is a synthetic gradient. No photograph appears here.