comparison mgtool.php @ 341:9210052bb649

Actually extract XMP title field. Oops.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 27 Aug 2023 01:45:36 +0300
parents 67e5bf30ee9b
children 4dd202fffdf7
comparison
equal deleted inserted replaced
340:67e5bf30ee9b 341:9210052bb649
37 define("GEC_IS_UNIQUE" , 3); 37 define("GEC_IS_UNIQUE" , 3);
38 38
39 $galExifConversions = 39 $galExifConversions =
40 [ 40 [
41 [ MG_STR, "caption" , "ImageDescription" , TRUE ], 41 [ MG_STR, "caption" , "ImageDescription" , TRUE ],
42 [ MG_STR, "title" , "ImageTitle" , TRUE ],
43 [ MG_STR, "copyright" , "Copyright" , FALSE ], 42 [ MG_STR, "copyright" , "Copyright" , FALSE ],
44 [ MG_STR, "model" , "Model" , FALSE ], 43 [ MG_STR, "model" , "Model" , FALSE ],
45 [ MG_STR, "lensmodel" , "UndefinedTag:0xA434" , FALSE ], 44 [ MG_STR, "lensmodel" , "UndefinedTag:0xA434" , FALSE ],
46 [ MG_INT, "width" , ["COMPUTED", "Width"] , TRUE ], 45 [ MG_INT, "width" , ["COMPUTED", "Width"] , TRUE ],
47 [ MG_INT, "height" , ["COMPUTED", "Height"] , TRUE ], 46 [ MG_INT, "height" , ["COMPUTED", "Height"] , TRUE ],
51 [ MG_DVA, "focallength" , "FocalLength" , TRUE ], 50 [ MG_DVA, "focallength" , "FocalLength" , TRUE ],
52 [ MG_DATE, "datetime" , "DateTimeOriginal" , TRUE ], 51 [ MG_DATE, "datetime" , "DateTimeOriginal" , TRUE ],
53 [ MG_DATE, "datetime" , "DateTimeDigitized" , TRUE ], 52 [ MG_DATE, "datetime" , "DateTimeDigitized" , TRUE ],
54 [ MG_INT, "filesize" , "FileSize" , TRUE ], 53 [ MG_INT, "filesize" , "FileSize" , TRUE ],
55 [ MG_STR, "keywords" , "keywords" , FALSE ], 54 [ MG_STR, "keywords" , "keywords" , FALSE ],
55 [ MG_STR, "title" , "title" , TRUE ],
56 ]; 56 ];
57 57
58 58
59 // 59 //
60 // SQL table schemas 60 // SQL table schemas