Backend: Add testdata

This commit is contained in:
Theresa Gresch 2020-10-27 09:30:20 +01:00
parent b57136394b
commit 67287a2d57
2 changed files with 166 additions and 0 deletions

BIN
internal/meta/testdata/smallFiji.JPG vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

166
internal/meta/testdata/smallFiji.json vendored Normal file
View File

@ -0,0 +1,166 @@
[{
"SourceFile": "smallFiji.JPG",
"ExifToolVersion": 12.00,
"FileName": "smallFiji.JPG",
"Directory": ".",
"FileSize": "65 kB",
"FileModifyDate": "2020:10:27 09:29:06+01:00",
"FileAccessDate": "2020:10:27 09:29:08+01:00",
"FileInodeChangeDate": "2020:10:27 09:29:06+01:00",
"FilePermissions": "rw-r--r--",
"FileType": "JPEG",
"FileTypeExtension": "jpg",
"MIMEType": "image/jpeg",
"JFIFVersion": 1.01,
"ExifByteOrder": "Little-endian (Intel, II)",
"ImageDescription": "June 2004",
"Make": "Canon",
"Model": "Canon PowerShot A70",
"Orientation": "Horizontal (normal)",
"XResolution": 180,
"YResolution": 180,
"ResolutionUnit": "inches",
"Software": "Adobe Photoshop Album 2.0",
"ModifyDate": "2005:03:24 17:15:01",
"YCbCrPositioning": "Centered",
"ExposureTime": "1/1000",
"FNumber": 5.0,
"ExifVersion": "0220",
"DateTimeOriginal": "2004:06:17 09:04:12",
"CreateDate": "2004:06:17 09:04:12",
"ComponentsConfiguration": "Y, Cb, Cr, -",
"CompressedBitsPerPixel": 3,
"ShutterSpeedValue": "1/1002",
"ApertureValue": 5.0,
"MaxApertureValue": 3.5,
"Flash": "Auto, Did not fire",
"FocalLength": "9.4 mm",
"MacroMode": "Normal",
"SelfTimer": "Off",
"Quality": "Fine",
"CanonFlashMode": "Red-eye reduction (Auto)",
"ContinuousDrive": "Single",
"FocusMode": "Single",
"RecordMode": "JPEG",
"CanonImageSize": "Large",
"EasyMode": "Full auto",
"DigitalZoom": "None",
"Contrast": "Normal",
"Saturation": "Normal",
"Sharpness": 0,
"CameraISO": "Auto",
"MeteringMode": "Evaluative",
"FocusRange": "Auto",
"AFPoint": "Auto AF point selection",
"CanonExposureMode": "Easy",
"LensType": "n/a",
"MaxFocalLength": "16.21875 mm",
"MinFocalLength": "5.40625 mm",
"FocalUnits": "32/mm",
"MaxAperture": 3.7,
"MinAperture": 8,
"FlashActivity": 0,
"FlashBits": "(none)",
"FocusContinuous": "Single",
"AESetting": "Normal AE",
"ZoomSourceWidth": 2048,
"ZoomTargetWidth": 2048,
"SpotMeteringMode": "AF Point",
"PhotoEffect": "Off",
"ManualFlashOutput": "n/a",
"FocalType": "Zoom",
"FocalPlaneXSize": "5.41 mm",
"FocalPlaneYSize": "4.04 mm",
"AutoISO": 100,
"BaseISO": 50,
"MeasuredEV": 16.00,
"TargetAperture": 5,
"TargetExposureTime": "1/1002",
"ExposureCompensation": 0,
"WhiteBalance": "Auto",
"SlowShutter": "Off",
"SequenceNumber": 0,
"OpticalZoomCode": 3,
"FlashGuideNumber": 0,
"FlashExposureComp": 0,
"AutoExposureBracketing": "Off",
"AEBBracketValue": 0,
"ControlMode": "Camera Local Control",
"FocusDistanceUpper": "5.73 m",
"FocusDistanceLower": "0 m",
"BulbDuration": 0,
"CameraType": "Compact",
"AutoRotate": "None",
"NDFilter": "Off",
"SelfTimer2": 0,
"FlashOutput": 0,
"CanonImageType": "IMG:PowerShot A70 JPEG",
"CanonFirmwareVersion": "Firmware Version 2.00",
"FileNumber": "104-0430",
"OwnerName": "Amalia & David Cole",
"CanonModelID": "PowerShot A70",
"NumAFPoints": 5,
"ValidAFPoints": 5,
"CanonImageWidth": 2048,
"CanonImageHeight": 1536,
"AFImageWidth": 2048,
"AFImageHeight": 256,
"AFAreaWidth": 369,
"AFAreaHeight": 42,
"AFAreaXPositions": "0 -370 0 370 0",
"AFAreaYPositions": "-48 0 0 0 48",
"AFPointsInFocus": 2,
"PrimaryAFPoint": 2,
"ThumbnailImageValidArea": "0 0 0 0",
"FlashpixVersion": "0100",
"ColorSpace": "sRGB",
"ExifImageWidth": 2048,
"ExifImageHeight": 1536,
"InteropIndex": "R98 - DCF basic file (sRGB)",
"InteropVersion": "0100",
"RelatedImageWidth": 2048,
"RelatedImageHeight": 1536,
"FocalPlaneXResolution": 9846.153846,
"FocalPlaneYResolution": 9846.153846,
"FocalPlaneResolutionUnit": "inches",
"SensingMethod": "One-chip color area",
"FileSource": "Digital Camera",
"CustomRendered": "Normal",
"ExposureMode": "Auto",
"DigitalZoomRatio": 1,
"SceneCaptureType": "Standard",
"GPSVersionID": "2.3.0.0",
"GPSLatitudeRef": "South",
"GPSLongitudeRef": "East",
"GPSAltitude": "1 m",
"Compression": "JPEG (old-style)",
"ThumbnailOffset": 1644,
"ThumbnailLength": 4355,
"ImageWidth": 500,
"ImageHeight": 375,
"EncodingProcess": "Baseline DCT, Huffman coding",
"BitsPerSample": 8,
"ColorComponents": 3,
"YCbCrSubSampling": "YCbCr4:2:2 (2 1)",
"DriveMode": "Single-frame Shooting",
"ISO": 50,
"Lens": "5.4 - 16.2 mm",
"ShootingMode": "Full auto",
"Aperture": 5.0,
"ImageSize": "500x375",
"LensID": "Unknown 5-16mm",
"Megapixels": 0.188,
"ScaleFactor35efl": 6.6,
"ShutterSpeed": "1/1000",
"ThumbnailImage": "(Binary data 4355 bytes, use -b option to extract)",
"GPSLatitude": "17 deg 46' 23.80\" S",
"GPSLongitude": "177 deg 21' 56.70\" E",
"Lens35efl": "5.4 - 16.2 mm (35 mm equivalent: 35.4 - 106.3 mm)",
"CircleOfConfusion": "0.005 mm",
"DOF": "9.38 m (1.65 - 11.02 m)",
"FOV": "32.6 deg",
"FocalLength35efl": "9.4 mm (35 mm equivalent: 61.6 mm)",
"GPSPosition": "17 deg 46' 23.80\" S, 177 deg 21' 56.70\" E",
"HyperfocalDistance": "3.86 m",
"LightValue": 15.6
}]