C++でExifデータの読み書き
最近Exifデータを弄る機会があるので、自分用にソフトウェアを作ろうとしている。
C++でExifデータを読み書きできるExiv2というライブラリがあるので、それを使うことにした。
Exiv2の簡単な使い方を書いていこうと思う。
サンプル画像
ここでは画像を扱う。
とりあえず、昨日撮ったEF65 1132の画像があるのでそれを使うことにする。
簡単な読み書き
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
#include <exiv2/exiv2.hpp> #include <iostream> int main() { using namespace std; // 画像のファイル名 const char* img_name = "26751313500_21cd4fb4cc_o.jpg"; try { // 画像を開く Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(img_name); // Exifデータを読み込む image->readMetadata(); Exiv2::ExifData &exif = image->exifData(); if (exif.empty()) { cerr << "no exif" << endl; return -1; } // Exifデータの表示 cout << "Current description: " << exif["Exif.Image.ImageDescription"] << endl; string new_description; cout << "New Description: "; getline(cin, new_description); // Exifデータの書き換え exif["Exif.Image.ImageDescription"] = new_description; // Exifデータを画像に書き込む image->setExifData(exif); image->writeMetadata(); return 0; } catch (Exiv2::Error& e) { cout << e.what() << endl; return -1; } } |
1 |
clang++ example1.cpp -std=c++11 `pkg-config --cflags --libs exiv2` |
"Exif.Image.ImageDescription"
はExiv2での各Exifデータのkeyとなっている。
標準的なExifデータのkeyはここにある。ちなみに、メーカ独自のタグにも対応している。
Exifデータを全部出力
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
#include <exiv2/exiv2.hpp> #include <iostream> int main() { using namespace std; // 画像のファイル名 const char* img_name = "26751313500_21cd4fb4cc_o.jpg"; try { // 画像を開く Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(img_name); // Exifデータを読み込む image->readMetadata(); Exiv2::ExifData &exif = image->exifData(); if (exif.empty()) { cerr << "no exif" << endl; return -1; } // Exifデータの表示 for (auto i = exif.begin(); i != exif.end(); ++i) { cout << i->key() << " " << i->value() << endl; } return 0; } catch (Exiv2::Error& e) { cout << e.what() << endl; return -1; } } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
Exif.Image.ImageDescription OLYMPUS DIGITAL CAMERA Exif.Image.Make OLYMPUS IMAGING CORP. Exif.Image.Model E-PL1 Exif.Image.Orientation 1 Exif.Image.XResolution 314/1 Exif.Image.YResolution 314/1 Exif.Image.ResolutionUnit 2 Exif.Image.Software OLYMPUS Viewer 3 2.0M Exif.Image.DateTime 2016:05:15 19:37:11 Exif.Image.YCbCrPositioning 2 Exif.Image.ExifTag 278 Exif.Photo.ExposureTime 1/50 Exif.Photo.FNumber 100/10 Exif.Photo.ExposureProgram 1 Exif.Photo.ISOSpeedRatings 100 Exif.Photo.ExifVersion 48 50 50 49 Exif.Photo.DateTimeOriginal 2016:05:15 18:18:19 Exif.Photo.DateTimeDigitized 2016:05:15 18:18:19 Exif.Photo.ComponentsConfiguration 1 2 3 0 Exif.Photo.ExposureBiasValue 0/10 Exif.Photo.MaxApertureValue 925/256 Exif.Photo.MeteringMode 5 Exif.Photo.LightSource 0 Exif.Photo.Flash 24 Exif.Photo.FocalLength 39/1 Exif.Photo.MakerNote 79 76 89 77 80 85 83 0 73 73 3 0 7 0 0 2 4 0 3 0 0 0 102 0 0 0 9 2 7 0 32 0 0 0 114 0 0 0 16 32 13 0 1 0 0 0 146 0 0 0 32 32 13 0 1 0 0 0 178 2 0 0 48 32 13 0 1 0 0 0 118 7 0 0 49 32 13 0 1 0 0 0 68 8 0 0 64 32 13 0 1 0 0 0 182 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 79 76 89 77 80 85 83 32 68 73 71 73 84 65 76 32 67 65 77 69 82 65 32 32 32 32 32 32 32 32 32 0 24 0 0 0 7 0 4 0 0 0 48 49 48 48 0 1 2 0 6 0 0 0 184 1 0 0 1 1 2 0 32 0 0 0 190 1 0 0 2 1 2 0 32 0 0 0 222 1 0 0 3 1 5 0 1 0 0 0 254 1 0 0 4 1 4 0 1 0 0 0 2 19 0 0 1 2 1 0 6 0 0 0 6 2 0 0 2 2 2 0 32 0 0 0 12 2 0 0 3 2 2 0 32 0 0 0 44 2 0 0 4 2 4 0 1 0 0 0 2 16 0 0 5 2 3 0 1 0 0 0 157 3 0 0 6 2 3 0 1 0 0 0 249 4 0 0 7 2 3 0 1 0 0 0 14 0 0 0 8 2 3 0 1 0 0 0 42 0 0 0 10 2 3 0 1 0 0 0 245 4 0 0 11 2 3 0 1 0 0 0 80 193 0 0 1 3 1 0 6 0 0 0 76 2 0 0 2 3 2 0 32 0 0 0 82 2 0 0 3 3 2 0 32 0 0 0 114 2 0 0 4 3 4 0 1 0 0 0 0 0 0 0 0 16 3 0 1 0 0 0 0 0 0 0 1 16 3 0 1 0 0 0 0 0 0 0 2 16 4 0 1 0 0 0 0 0 0 0 3 16 2 0 32 0 0 0 146 2 0 0 0 0 0 0 83 48 48 50 55 0 66 50 87 53 48 56 52 51 53 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 0 52 49 48 50 48 48 51 48 50 53 52 55 52 48 48 49 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 0 112 8 0 0 100 0 0 0 0 0 5 16 0 0 65 65 71 50 51 52 53 54 55 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 79 76 89 77 80 85 83 32 77 46 49 52 45 52 50 109 109 32 70 51 46 53 45 53 46 54 32 76 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 59 0 0 0 7 0 4 0 0 0 48 49 48 48 0 1 4 0 1 0 0 0 0 0 0 0 1 1 4 0 1 0 0 0 0 0 0 0 2 1 4 0 1 0 0 0 0 0 0 0 0 2 3 0 1 0 0 0 1 0 0 0 1 2 3 0 1 0 0 0 0 0 0 0 2 2 3 0 1 0 0 0 5 0 0 0 3 2 10 0 1 0 0 0 124 5 0 0 0 3 3 0 1 0 0 0 0 0 0 0 1 3 3 0 2 0 0 0 10 0 16 0 2 3 3 0 2 0 0 0 0 0 0 0 3 3 3 0 1 0 0 0 0 0 0 0 4 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0 1 0 0 0 0 0 0 0 21 1 8 0 1 0 0 0 0 0 0 0 22 1 3 0 1 0 0 0 0 0 0 0 23 1 3 0 1 0 0 0 0 0 0 0 24 1 3 0 1 0 0 0 0 0 0 0 25 1 3 0 1 0 0 0 0 0 0 0 26 1 8 0 3 0 0 0 86 10 0 0 32 1 8 0 4 0 0 0 92 10 0 0 33 1 3 0 4 0 0 0 100 10 0 0 34 1 8 0 3 0 0 0 108 10 0 0 35 1 3 0 1 0 0 0 17 0 0 0 36 1 3 0 0 0 0 0 0 0 0 0 37 1 8 0 6 0 0 0 114 10 0 0 38 1 8 0 8 0 0 0 126 10 0 0 39 1 8 0 14 0 0 0 142 10 0 0 40 1 8 0 6 0 0 0 170 10 0 0 41 1 3 0 1 0 0 0 0 0 0 0 42 1 8 0 1 0 0 0 0 0 0 0 43 1 8 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 254 255 2 0 1 0 254 255 2 0 0 0 254 255 2 0 0 0 254 255 2 0 0 0 254 255 2 0 0 0 254 255 2 0 0 0 0 0 0 0 2 0 255 255 254 255 1 0 0 0 0 0 0 0 0 0 0 0 255 255 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 193 0 0 0 7 0 4 0 0 0 48 49 49 50 0 1 3 0 4 0 0 0 200 19 0 0 1 1 3 0 4 0 0 0 208 19 0 0 2 1 3 0 4 0 0 0 216 19 0 0 3 1 3 0 4 0 0 0 224 19 0 0 4 1 3 0 4 0 0 0 232 19 0 0 5 1 3 0 4 0 0 0 240 19 0 0 6 1 3 0 4 0 0 0 248 19 0 0 7 1 3 0 4 0 0 0 0 20 0 0 8 1 3 0 4 0 0 0 8 20 0 0 9 1 3 0 4 0 0 0 16 20 0 0 10 1 3 0 4 0 0 0 24 20 0 0 11 1 3 0 4 0 0 0 32 20 0 0 12 1 3 0 4 0 0 0 40 20 0 0 13 1 3 0 4 0 0 0 48 20 0 0 14 1 3 0 4 0 0 0 56 20 0 0 15 1 3 0 4 0 0 0 64 20 0 0 16 1 3 0 4 0 0 0 72 20 0 0 17 1 3 0 4 0 0 0 80 20 0 0 32 1 3 0 4 0 0 0 88 20 0 0 33 1 3 0 4 0 0 0 96 20 0 0 34 1 8 0 8 0 0 0 104 20 0 0 35 1 3 0 8 0 0 0 120 20 0 0 36 1 3 0 1 0 0 0 243 195 0 0 0 2 3 0 9 0 0 0 136 20 0 0 1 2 3 0 9 0 0 0 154 20 0 0 2 2 3 0 9 0 0 0 172 20 0 0 3 2 3 0 9 0 0 0 190 20 0 0 4 2 3 0 9 0 0 0 208 20 0 0 5 2 3 0 9 0 0 0 226 20 0 0 6 2 3 0 9 0 0 0 244 20 0 0 7 2 3 0 9 0 0 0 6 21 0 0 8 2 3 0 9 0 0 0 24 21 0 0 9 2 3 0 9 0 0 0 42 21 0 0 10 2 3 0 9 0 0 0 60 21 0 0 11 2 3 0 9 0 0 0 78 21 0 0 12 2 3 0 9 0 0 0 96 21 0 0 13 2 3 0 9 0 0 0 114 21 0 0 14 2 3 0 9 0 0 0 132 21 0 0 15 2 3 0 9 0 0 0 150 21 0 0 16 2 3 0 9 0 0 0 168 21 0 0 17 2 3 0 9 0 0 0 186 21 0 0 18 2 3 0 9 0 0 0 204 21 0 0 19 2 3 0 9 0 0 0 222 21 0 0 20 2 3 0 9 0 0 0 240 21 0 0 21 2 3 0 9 0 0 0 2 22 0 0 22 2 3 0 9 0 0 0 20 22 0 0 23 2 3 0 9 0 0 0 38 22 0 0 24 2 3 0 9 0 0 0 56 22 0 0 25 2 3 0 9 0 0 0 74 22 0 0 26 2 3 0 9 0 0 0 92 22 0 0 40 2 3 0 9 0 0 0 110 22 0 0 41 2 3 0 9 0 0 0 128 22 0 0 89 2 8 0 99 0 0 0 146 22 0 0 2 3 3 0 1 0 0 0 0 1 0 0 3 3 3 0 1 0 0 0 0 0 0 0 4 3 3 0 11 0 0 0 88 23 0 0 5 3 3 0 5 0 0 0 110 23 0 0 18 3 3 0 1 0 0 0 0 1 0 0 19 3 3 0 1 0 0 0 0 0 0 0 20 3 3 0 11 0 0 0 120 23 0 0 21 3 3 0 5 0 0 0 142 23 0 0 64 3 8 0 24 0 0 0 152 23 0 0 65 3 8 0 24 0 0 0 200 23 0 0 66 3 8 0 24 0 0 0 248 23 0 0 67 3 8 0 24 0 0 0 40 24 0 0 80 3 3 0 12 0 0 0 88 24 0 0 81 3 3 0 30 0 0 0 112 24 0 0 0 4 3 0 63 0 0 0 172 24 0 0 1 4 3 0 5 0 0 0 42 25 0 0 2 4 3 0 5 0 0 0 52 25 0 0 3 4 3 0 5 0 0 0 62 25 0 0 4 4 3 0 5 0 0 0 72 25 0 0 5 4 3 0 5 0 0 0 82 25 0 0 6 4 3 0 5 0 0 0 92 25 0 0 7 4 3 0 1 0 0 0 0 1 0 0 8 4 3 0 5 0 0 0 102 25 0 0 9 4 3 0 5 0 0 0 112 25 0 0 10 4 3 0 15 0 0 0 122 25 0 0 16 4 3 0 5 0 0 0 152 25 0 0 32 4 8 0 1 0 0 0 0 0 0 0 33 4 3 0 1 0 0 0 0 0 0 0 34 4 8 0 5 0 0 0 162 25 0 0 35 4 3 0 5 0 0 0 172 25 0 0 36 4 8 0 5 0 0 0 182 25 0 0 37 4 3 0 5 0 0 0 192 25 0 0 0 6 3 0 4 0 0 0 202 25 0 0 1 6 3 0 6 0 0 0 210 25 0 0 2 6 3 0 6 0 0 0 222 25 0 0 3 6 3 0 6 0 0 0 234 25 0 0 16 6 3 0 1 0 0 0 0 1 0 0 17 6 3 0 2 0 0 0 12 0 0 0 18 6 3 0 2 0 0 0 30 0 0 0 19 6 3 0 2 0 0 0 30 0 0 0 20 6 4 0 1 0 0 0 192 15 0 0 21 6 4 0 1 0 0 0 208 11 0 0 23 6 3 0 1 0 0 0 255 255 0 0 24 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26 0 0 24 16 3 0 3 0 0 0 172 26 0 0 25 16 3 0 2 0 0 0 0 0 0 0 26 16 3 0 1 0 0 0 0 0 0 0 27 16 8 0 2 0 0 0 0 0 0 0 28 16 3 0 2 0 0 0 0 0 1 0 16 17 3 0 10 0 0 0 178 26 0 0 18 17 1 0 2 0 0 0 0 0 0 0 19 17 3 0 4 0 0 0 198 26 0 0 20 17 1 0 1 0 0 0 0 0 0 0 21 17 3 0 2 0 0 0 0 0 0 0 22 17 3 0 2 0 0 0 0 0 0 0 23 17 4 0 2 0 0 0 206 26 0 0 24 17 8 0 2 0 0 0 0 0 0 0 25 17 1 0 2 0 0 0 0 0 0 0 26 17 1 0 2 0 0 0 0 0 0 0 27 17 7 0 170 0 0 0 214 26 0 0 0 18 4 0 3 0 0 0 128 27 0 0 1 18 3 0 192 0 0 0 140 27 0 0 2 18 4 0 3 0 0 0 12 29 0 0 3 18 3 0 6 0 0 0 24 29 0 0 4 18 8 0 2 0 0 0 2 0 0 0 5 18 8 0 1 0 0 0 1 0 0 0 6 18 8 0 5 0 0 0 36 29 0 0 7 18 8 0 12 0 0 0 46 29 0 0 0 19 8 0 4 0 0 0 70 29 0 0 1 19 3 0 2 0 0 0 0 0 0 0 2 19 8 0 2 0 0 0 162 5 0 0 3 19 8 0 2 0 0 0 83 5 0 0 4 19 8 0 2 0 0 0 63 5 0 0 5 19 3 0 4 0 0 0 78 29 0 0 0 20 8 0 3 0 0 0 86 29 0 0 1 20 3 0 10 0 0 0 92 29 0 0 2 20 8 0 10 0 0 0 112 29 0 0 3 20 3 0 10 0 0 0 132 29 0 0 4 20 3 0 2 0 0 0 50 0 50 0 5 20 3 0 2 0 0 0 50 0 50 0 6 20 3 0 2 0 0 0 0 0 0 0 7 20 3 0 2 0 0 0 0 0 0 0 8 20 8 0 6 0 0 0 152 29 0 0 9 20 3 0 15 0 0 0 164 29 0 0 0 21 1 0 3 0 0 0 78 84 84 0 1 21 1 0 3 0 0 0 0 5 0 0 2 21 1 0 1 0 0 0 3 0 0 0 3 21 8 0 12 0 0 0 194 29 0 0 4 21 1 0 4 0 0 0 128 128 128 128 5 21 8 0 4 0 0 0 218 29 0 0 6 21 3 0 12 0 0 0 226 29 0 0 7 21 3 0 1 0 0 0 0 0 0 0 8 21 8 0 3 0 0 0 250 29 0 0 9 21 3 0 1 0 0 0 0 0 0 0 10 21 11 0 4 0 0 0 0 30 0 0 11 21 1 0 1 0 0 0 3 0 0 0 0 25 1 0 2 0 0 0 0 0 0 0 0 0 0 0 234 1 46 1 0 1 0 1 0 1 0 1 0 1 0 1 252 0 150 2 0 1 0 1 54 1 252 1 0 1 0 1 76 1 206 1 0 1 0 1 100 1 170 1 0 1 0 1 162 1 248 1 0 1 0 1 122 1 156 1 0 1 0 1 148 1 178 1 0 1 0 1 154 1 118 1 0 1 0 1 184 1 88 1 0 1 0 1 226 1 54 1 0 1 0 1 252 1 80 1 0 1 0 1 16 2 8 1 0 1 0 1 128 1 128 1 0 1 0 1 128 1 128 1 0 1 0 1 128 1 128 1 0 1 0 1 128 1 128 1 0 1 0 1 136 1 140 1 0 1 0 1 228 1 52 1 0 1 0 1 2 0 100 0 254 255 100 0 254 255 100 0 254 255 100 0 4 1 4 1 4 1 3 1 28 3 28 3 28 3 16 3 60 1 220 255 232 255 230 255 64 1 218 255 254 255 192 255 66 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65 0 65 0 65 0 64 0 64 1 0 16 0 13 0 16 20 0 128 0 64 1 0 16 0 13 0 16 20 0 128 0 64 1 0 16 0 13 0 16 20 0 128 0 59 10 191 15 231 5 207 11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 32 31 32 87 32 151 32 239 32 100 33 221 33 119 34 18 35 200 35 136 36 84 37 28 38 15 39 42 40 114 41 160 251 169 0 128 16 1 0 12 0 20 0 24 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 191 15 207 11 0 0 0 0 0 0 0 0 0 0 133 0 234 0 65 1 143 1 214 1 16 2 64 2 106 2 144 2 179 2 212 2 243 2 16 3 43 3 69 3 92 3 114 3 133 3 151 3 167 3 181 3 193 3 205 3 216 3 227 3 238 3 248 3 255 3 255 3 255 3 255 3 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56 0 3 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 5 0 0 0 70 0 13 0 116 1 0 0 0 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0 0 0 0 0 0 0 0 0 75 0 75 0 0 0 0 0 0 0 0 0 0 0 30 0 35 0 30 0 35 0 30 0 35 0 10 0 60 0 10 0 60 0 60 0 60 0 60 0 60 0 60 0 60 0 0 0 85 0 0 0 85 0 60 0 60 0 60 0 60 0 60 0 60 0 60 0 60 0 60 0 60 0 249 255 6 0 249 255 7 0 249 255 7 0 0 4 0 8 0 12 0 16 0 20 0 24 0 28 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 55 5 54 255 14 0 141 5 41 255 17 0 47 5 55 255 13 0 134 5 41 255 17 0 220 255 217 255 220 255 218 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 244 164 49 61 0 0 118 186 0 72 75 186 182 101 116 63 Exif.MakerNote.Offset 748 Exif.MakerNote.ByteOrder II Exif.Olympus2.SpecialMode 0 0 0 Exif.Olympus2.CameraID 79 76 89 77 80 85 83 32 68 73 71 73 84 65 76 32 67 65 77 69 82 65 32 32 32 32 32 32 32 32 32 0 Exif.Olympus2.Equipment 146 Exif.OlympusEq.EquipmentVersion 48 49 48 48 Exif.OlympusEq.CameraType S0027 Exif.OlympusEq.SerialNumber B2W508435 Exif.OlympusEq.InternalSerialNumber 4102003025474001 Exif.OlympusEq.FocalPlaneDiagonal 2160/100 Exif.OlympusEq.BodyFirmwareVersion 4866 Exif.OlympusEq.LensType 0 0 5 16 0 0 Exif.OlympusEq.LensSerialNumber AAG234567 Exif.OlympusEq.LensModel OLYMPUS M.14-42mm F3.5-5.6 L Exif.OlympusEq.LensFirmwareVersion 4098 Exif.OlympusEq.MaxApertureAtMinFocal 925 Exif.OlympusEq.MaxApertureAtMaxFocal 1273 Exif.OlympusEq.MinFocalLength 14 Exif.OlympusEq.MaxFocalLength 42 Exif.OlympusEq.MaxApertureAtCurrentFocal 1269 Exif.OlympusEq.LensProperties 49488 Exif.OlympusEq.Extender 0 0 0 0 0 0 Exif.OlympusEq.ExtenderSerialNumber Exif.OlympusEq.ExtenderModel Exif.OlympusEq.ExtenderFirmwareVersion 0 Exif.OlympusEq.FlashType 0 Exif.OlympusEq.FlashModel 0 Exif.OlympusEq.FlashFirmwareVersion 0 Exif.OlympusEq.FlashSerialNumber Exif.Olympus2.CameraSettings 690 Exif.OlympusCs.CameraSettingsVersion 48 49 48 48 Exif.OlympusCs.PreviewImageValid 0 Exif.OlympusCs.PreviewImageStart 0 Exif.OlympusCs.PreviewImageLength 0 Exif.OlympusCs.ExposureMode 1 Exif.OlympusCs.AELock 0 Exif.OlympusCs.MeteringMode 5 Exif.OlympusCs.ExposureShift 0/100 Exif.OlympusCs.MacroMode 0 Exif.OlympusCs.FocusMode 10 16 Exif.OlympusCs.FocusProcess 0 0 Exif.OlympusCs.AFSearch 0 Exif.OlympusCs.AFAreas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusCs.AFPointSelected 0/0 0/0 0/0 0/0 0/0 Exif.OlympusCs.0x0306 0 Exif.OlympusCs.AFFineTuneAdj 0 0 0 Exif.OlympusCs.FlashMode 0 Exif.OlympusCs.FlashExposureComp 0/256 Exif.OlympusCs.0x0402 0 Exif.OlympusCs.FlashRemoteControl 0 Exif.OlympusCs.FlashControlMode 0 0 0 Exif.OlympusCs.FlashIntensity 0/0 0/0 0/0 Exif.OlympusCs.ManualFlashStrength 0/0 0/0 0/0 Exif.OlympusCs.WhiteBalance 17 Exif.OlympusCs.WhiteBalanceTemperature 6000 Exif.OlympusCs.WhiteBalanceBracket 1 0 Exif.OlympusCs.CustomSaturation 0 -5 5 Exif.OlympusCs.ModifiedSaturation 0 Exif.OlympusCs.ContrastSetting 0 -5 5 Exif.OlympusCs.SharpnessSetting 1 -5 5 Exif.OlympusCs.ColorSpace 0 Exif.OlympusCs.0x0508 0 Exif.OlympusCs.SceneMode 0 Exif.OlympusCs.NoiseReduction 8 Exif.OlympusCs.DistortionCorrection 0 Exif.OlympusCs.ShadingCompensation 0 Exif.OlympusCs.0x050e 0 Exif.OlympusCs.Gradation 0 -1 1 0 Exif.OlympusCs.PictureMode 5 2 Exif.OlympusCs.PictureModeSaturation 0 -2 2 Exif.OlympusCs.PictureModeHue 0 Exif.OlympusCs.PictureModeContrast 0 -2 2 Exif.OlympusCs.PictureModeSharpness 1 -2 2 Exif.OlympusCs.PictureModeBWFilter 0 Exif.OlympusCs.PictureModeTone 0 Exif.OlympusCs.NoiseFilter -1 -2 1 Exif.OlympusCs.0x0528 0 Exif.OlympusCs.ArtFilter 0 0 0 0 Exif.OlympusCs.0x052a 8499 Exif.OlympusCs.0x052b 5300 0 7500 0 6000 0 3000 1 4000 2 4500 2 6600 2 5500 3 Exif.OlympusCs.0x052d 0 -1 1 Exif.OlympusCs.0x052e 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusCs.DriveMode 0 0 0 Exif.OlympusCs.PanoramaMode 0 0 Exif.OlympusCs.ImageStabilization 0 Exif.OlympusCs.0x0800 1 Exif.OlympusCs.ManometerPressure 0 Exif.OlympusCs.ManometerReading 0 0 Exif.OlympusCs.ExtendedWBDetect 0 Exif.Olympus2.RawDevelopment 1910 Exif.OlympusRd.RawDevVersion 0 1 0 1 Exif.OlympusRd.ExposureBiasValue 0/1 Exif.OlympusRd.WhiteBalanceValue 0 Exif.OlympusRd.WBFineAdjustment 0 Exif.OlympusRd.GrayPoint 0 0 0 Exif.OlympusRd.SaturationEmphasis 0 0 0 Exif.OlympusRd.MemoryColorEmphasis 0 Exif.OlympusRd.ContrastValue 0 0 0 Exif.OlympusRd.SharpnessValue 0 0 0 Exif.OlympusRd.ColorSpace 0 Exif.OlympusRd.Engine 0 Exif.OlympusRd.NoiseReduction 0 Exif.OlympusRd.EditStatus 0 Exif.OlympusRd.Settings 0 Exif.Olympus2.RawDevelopment2 2116 Exif.OlympusRd2.RawDev2Version 48 49 48 48 Exif.OlympusRd2.ExposureBiasValue 0/1 Exif.OlympusRd2.WhiteBalance 3 Exif.OlympusRd2.WhiteBalanceValue 6000 Exif.OlympusRd2.WBFineAdjustment 1 0 Exif.OlympusRd2.GrayPoint 0 0 Exif.OlympusRd2.ContrastValue 0 -2 2 Exif.OlympusRd2.SharpnessValue 1 -2 2 Exif.OlympusRd2.SaturationEmphasis 0 -2 2 Exif.OlympusRd2.MemoryColorEmphasis Exif.OlympusRd2.ColorSpace 0 Exif.OlympusRd2.NoiseReduction 2 Exif.OlympusRd2.Engine 2 Exif.OlympusRd2.PictureMode 5 Exif.OlympusRd2.PMSaturation 0 -2 2 Exif.OlympusRd2.PMContrast 0 -2 2 Exif.OlympusRd2.PMSharpness 0 -2 2 Exif.OlympusRd2.PM_BWFilter 0 Exif.OlympusRd2.PMPictureTone 0 Exif.OlympusRd2.Gradation 0 Exif.OlympusRd2.Saturation 0 Exif.OlympusRd2.0x0114 0 Exif.OlympusRd2.0x0115 0 Exif.OlympusRd2.0x0116 0 Exif.OlympusRd2.0x0117 0 Exif.OlympusRd2.0x0118 0 Exif.OlympusRd2.AutoGradation 0 Exif.OlympusRd2.0x011a 0 0 0 Exif.OlympusRd2.PMNoiseFilter 2 -1 -2 1 Exif.OlympusRd2.0x0121 0 0 0 0 Exif.OlympusRd2.0x0122 0 -1 1 Exif.OlympusRd2.0x0123 17 Exif.OlympusRd2.0x0124 Exif.OlympusRd2.0x0125 0 0 0 0 0 0 Exif.OlympusRd2.0x0126 0 0 0 0 0 0 0 0 Exif.OlympusRd2.0x0127 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusRd2.0x0128 0 0 0 0 0 0 Exif.OlympusRd2.0x0129 0 Exif.OlympusRd2.0x012a 0 Exif.OlympusRd2.0x012b 0 Exif.Olympus2.ImageProcessing 2742 Exif.OlympusIp.ImageProcessingVersion 48 49 49 50 Exif.OlympusIp.WB_RBLevels 490 302 256 256 Exif.OlympusIp.0x0101 256 256 256 256 Exif.OlympusIp.WB_RBLevels3000K 252 662 256 256 Exif.OlympusIp.WB_RBLevels3300K 310 508 256 256 Exif.OlympusIp.WB_RBLevels3600K 332 462 256 256 Exif.OlympusIp.WB_RBLevels3900K 356 426 256 256 Exif.OlympusIp.WB_RBLevels4000K 418 504 256 256 Exif.OlympusIp.WB_RBLevels4300K 378 412 256 256 Exif.OlympusIp.WB_RBLevels4500K 404 434 256 256 Exif.OlympusIp.WB_RBLevels4800K 410 374 256 256 Exif.OlympusIp.WB_RBLevels5300K 440 344 256 256 Exif.OlympusIp.WB_RBLevels6000K 482 310 256 256 Exif.OlympusIp.WB_RBLevels6600K 508 336 256 256 Exif.OlympusIp.WB_RBLevels7500K 528 264 256 256 Exif.OlympusIp.WB_RBLevelsCWB1 384 384 256 256 Exif.OlympusIp.WB_RBLevelsCWB2 384 384 256 256 Exif.OlympusIp.WB_RBLevelsCWB3 384 384 256 256 Exif.OlympusIp.WB_RBLevelsCWB4 384 384 256 256 Exif.OlympusIp.0x0120 392 396 256 256 Exif.OlympusIp.0x0121 484 308 256 256 Exif.OlympusIp.0x0122 2 100 -2 100 -2 100 -2 100 Exif.OlympusIp.0x0123 260 260 260 259 796 796 796 784 Exif.OlympusIp.0x0124 50163 Exif.OlympusIp.ColorMatrix 316 65500 65512 65510 320 65498 65534 65472 322 Exif.OlympusIp.0x0201 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0202 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0203 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0204 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0205 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0206 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0207 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0208 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0209 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x020a 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x020b 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x020c 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x020d 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x020e 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x020f 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0210 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0211 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0212 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0213 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0214 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0215 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0216 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0217 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0218 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0219 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x021a 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0228 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0229 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0259 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0302 256 Exif.OlympusIp.0x0303 0 Exif.OlympusIp.0x0304 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0305 0 0 0 0 0 Exif.OlympusIp.0x0312 256 Exif.OlympusIp.0x0313 0 Exif.OlympusIp.0x0314 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0315 0 0 0 0 0 Exif.OlympusIp.0x0340 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0341 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0342 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0343 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0350 0 0 9 16383 4095 9 0 0 0 0 0 0 Exif.OlympusIp.0x0351 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0400 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0401 0 0 0 0 0 Exif.OlympusIp.0x0402 0 0 0 0 0 Exif.OlympusIp.0x0403 0 0 0 0 0 Exif.OlympusIp.0x0404 0 0 0 0 0 Exif.OlympusIp.0x0405 0 0 0 0 0 Exif.OlympusIp.0x0406 0 0 0 0 0 Exif.OlympusIp.0x0407 256 Exif.OlympusIp.0x0408 0 0 0 0 0 Exif.OlympusIp.0x0409 0 0 0 0 0 Exif.OlympusIp.0x040a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0410 0 0 0 0 0 Exif.OlympusIp.0x0420 0 Exif.OlympusIp.0x0421 0 Exif.OlympusIp.0x0422 0 0 0 0 0 Exif.OlympusIp.0x0423 0 0 0 0 0 Exif.OlympusIp.0x0424 0 0 0 0 0 Exif.OlympusIp.0x0425 0 0 0 0 0 Exif.OlympusIp.BlackLevel 65 65 65 64 Exif.OlympusIp.0x0601 320 4096 3328 4096 20 128 Exif.OlympusIp.0x0602 320 4096 3328 4096 20 128 Exif.OlympusIp.0x0603 320 4096 3328 4096 20 128 Exif.OlympusIp.GainBase 256 Exif.OlympusIp.ValidBits 12 0 Exif.OlympusIp.CropLeft 30 0 Exif.OlympusIp.CropTop 30 0 Exif.OlympusIp.CropWidth 4032 Exif.OlympusIp.CropHeight 3024 Exif.OlympusIp.0x0617 65535 Exif.OlympusIp.0x0618 65535 Exif.OlympusIp.0x0619 65535 Exif.OlympusIp.0x0620 3 Exif.OlympusIp.0x0630 3 Exif.OlympusIp.0x0637 2619 4031 1511 3023 Exif.OlympusIp.0x0638 11199 Exif.OlympusIp.0x0640 0 Exif.OlympusIp.0x0641 5 Exif.OlympusIp.0x0642 0 Exif.OlympusIp.0x0643 2 Exif.OlympusIp.0x0644 5 Exif.OlympusIp.0x0645 4 Exif.OlympusIp.0x0646 3 Exif.OlympusIp.0x0647 2 Exif.OlympusIp.0x0648 3 Exif.OlympusIp.0x0649 4 Exif.OlympusIp.0x0650 7 Exif.OlympusIp.0x0651 15 Exif.OlympusIp.0x0652 12 Exif.OlympusIp.0x0653 5 Exif.OlympusIp.0x0654 33 Exif.OlympusIp.0x0800 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x0801 8192 8223 8279 8343 8431 8548 8669 8823 8978 9160 9352 9556 9756 9999 10282 10610 Exif.OlympusIp.0x0802 11140000/69760 Exif.OlympusIp.0x0803 12 20 24 Exif.OlympusIp.0x0804 0 0 Exif.OlympusIp.0x0805 4092 646 Exif.OlympusIp.0x1003 9 Exif.OlympusIp.0x1004 0 Exif.OlympusIp.0x1005 0 0 Exif.OlympusIp.0x1006 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x1007 0 0 0 0 0 Exif.OlympusIp.0x1008 0 Exif.OlympusIp.0x1009 0 0 0 Exif.OlympusIp.0x100a 0 0 0 Exif.OlympusIp.NoiseReduction 0 Exif.OlympusIp.DistortionCorrection 1 Exif.OlympusIp.ShadingCompensation 0 Exif.OlympusIp.0x1013 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x1014 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x1015 0 0 Exif.OlympusIp.0x1016 0 0 0 0 Exif.OlympusIp.0x1017 0 0 0 Exif.OlympusIp.0x1018 0 0 0 Exif.OlympusIp.0x1019 0 0 Exif.OlympusIp.0x101a 0 Exif.OlympusIp.0x101b 0 0 Exif.OlympusIp.MultipleExposureMode 0 1 Exif.OlympusIp.0x1110 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.AspectRatio 0 0 Exif.OlympusIp.AspectFrame 0 0 4031 3023 Exif.OlympusIp.0x1114 0 Exif.OlympusIp.0x1115 0 0 Exif.OlympusIp.0x1116 0 0 Exif.OlympusIp.0x1117 0 0 Exif.OlympusIp.0x1118 0 0 Exif.OlympusIp.0x1119 0 0 Exif.OlympusIp.0x111a 0 0 Exif.OlympusIp.0x111b 0 0 133 0 234 0 65 1 143 1 214 1 16 2 64 2 106 2 144 2 179 2 212 2 243 2 16 3 43 3 69 3 92 3 114 3 133 3 151 3 167 3 181 3 193 3 205 3 216 3 227 3 238 3 248 3 255 3 255 3 255 3 255 3 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56 0 3 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 5 0 0 0 70 0 13 0 116 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 33 72 90 109 127 128 129 140 162 182 222 255 255 255 0 0 35 75 95 116 127 128 130 148 167 185 224 255 255 255 66 179 0 0 128 128 0 0 0 128 0 128 0 255 88 137 116 164 Exif.OlympusIp.FaceDetect 0 0 0 Exif.OlympusIp.FaceDetectArea 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x1202 0 0 0 Exif.OlympusIp.0x1203 0 0 0 0 0 0 Exif.OlympusIp.0x1204 2 0 Exif.OlympusIp.0x1205 1 Exif.OlympusIp.0x1206 2 120 0 200 0 Exif.OlympusIp.0x1207 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x1300 0 0 0 0 Exif.OlympusIp.0x1301 0 0 Exif.OlympusIp.0x1302 1442 0 Exif.OlympusIp.0x1303 1363 0 Exif.OlympusIp.0x1304 1343 0 Exif.OlympusIp.0x1305 75 75 0 0 Exif.OlympusIp.0x1400 0 0 0 Exif.OlympusIp.0x1401 30 35 30 35 30 35 10 60 10 60 Exif.OlympusIp.0x1402 60 60 60 60 60 60 0 85 0 85 Exif.OlympusIp.0x1403 60 60 60 60 60 60 60 60 60 60 Exif.OlympusIp.0x1404 50 50 Exif.OlympusIp.0x1405 50 50 Exif.OlympusIp.0x1406 0 0 Exif.OlympusIp.0x1407 0 0 Exif.OlympusIp.0x1408 -7 6 -7 7 -7 7 Exif.OlympusIp.0x1409 1024 2048 3072 4096 5120 6144 7168 512 512 512 512 512 512 512 512 Exif.OlympusIp.0x1500 78 84 84 Exif.OlympusIp.0x1501 0 5 0 Exif.OlympusIp.0x1502 3 Exif.OlympusIp.0x1503 1335 -202 14 1421 -215 17 1327 -201 13 1414 -215 17 Exif.OlympusIp.0x1504 128 128 128 128 Exif.OlympusIp.0x1505 -36 -39 -36 -38 Exif.OlympusIp.0x1506 0 0 0 0 0 0 0 0 0 0 0 0 Exif.OlympusIp.0x1507 0 Exif.OlympusIp.0x1508 0 0 0 Exif.OlympusIp.0x1509 0 Exif.OlympusIp.0x150a 0.0433702021837234 -0.00093841552734375 -0.000775456428527832 0.954676985740662 Exif.OlympusIp.0x150b 3 Exif.OlympusIp.0x1900 0 0 Exif.Photo.UserComment Exif.Photo.FlashpixVersion 48 49 48 48 Exif.Photo.ColorSpace 1 Exif.Photo.PixelXDimension 4032 Exif.Photo.PixelYDimension 3024 Exif.Photo.InteroperabilityTag 8570 Exif.Iop.InteroperabilityIndex R98 Exif.Iop.InteroperabilityVersion 48 49 48 48 Exif.Photo.FileSource 3 Exif.Photo.CFAPattern 2 0 2 0 0 1 1 2 Exif.Photo.CustomRendered 0 Exif.Photo.ExposureMode 1 Exif.Photo.WhiteBalance 1 Exif.Photo.DigitalZoomRatio 100/100 Exif.Photo.SceneCaptureType 0 Exif.Photo.GainControl 0 Exif.Photo.Contrast 0 Exif.Photo.Saturation 0 Exif.Photo.Sharpness 2 Exif.Thumbnail.Compression 6 Exif.Thumbnail.XResolution 72/1 Exif.Thumbnail.YResolution 72/1 Exif.Thumbnail.ResolutionUnit 2 Exif.Thumbnail.JPEGInterchangeFormat 8710 Exif.Thumbnail.JPEGInterchangeFormatLength 14712 |
こんな感じでイテレータ使ってExifデータを全部出力することも可能。
まとめ
流れとしては、
Exiv2::ImageFactory::open
で画像を開くExiv2::Image::readMetadata
でExifデータを読み込むExiv2::ExifData::operator[]
で読み込んだExifデータを読み書きできるExiv2::Image::setExifData
で画像データにExifデータを書き込むExiv2::Image::writeMetadata
で画像データをファイルに書き込み
ととても簡単。