Subversion Repositories eFlore/Applications.cel

Rev

Rev 970 | Rev 994 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 970 Rev 988
Line 11... Line 11...
11
 * @version $Id$
11
 * @version $Id$
12
 */
12
 */
13
class ExtracteurMetadonnees {
13
class ExtracteurMetadonnees {
Line 14... Line 14...
14
 
14
 
15
	 public function extraireMetadonnees($chemin_fichier)
15
	 public function extraireMetadonnees($chemin_fichier)
16
	 {
-
 
17
	 	
16
	 {	
18
	 	$metadonnees = $this->decoderMetaDonnees($chemin_fichier);
-
 
19
	 	
17
	 	$metadonnees = $this->decoderMetaDonnees($chemin_fichier); 	
20
		return $metadonnees ;
18
		return $metadonnees ;
Line 21... Line 19...
21
	 }
19
	 }
22
	 
20
	 
Line 27... Line 25...
27
	
25
	
Line 28... Line 26...
28
	private function decoderMetadonnees($chemin_image) {
26
	private function decoderMetadonnees($chemin_image) {
Line 29... Line 27...
29
		
27
		
30
		$metadonnees = array();
-
 
31
		
28
		$metadonnees = array();
32
		if($this->peutUtiliserExifTool()) {
-
 
33
			
-
 
34
			$res = $this->decoderMetadonneesExifTool($chemin_image);
-
 
35
			$metadonnees['meta_exif'] = $this->convertirExifVersXML(&$res);
-
 
36
			$metadonnees['meta_iptc'] = $this->convertirIptcVersXML(&$res);
-
 
37
			$metadonnees['meta_xmp'] = $this->convertirXmpVersXML(&$res);
-
 
38
			$metadonnees['meta_makernote'] = $this->convertirMakernoteVersXML(&$res); 
-
 
39
			
-
 
40
			$metadonnees['appareil_fabriquant'] = $this->obtenirAppareilFabricant(&$res);
-
 
41
			$metadonnees['appareil_modele'] = $this->obtenirAppareilModele(&$res);
-
 
42
			
-
 
43
			$metadonnees['hauteur'] = $this->obtenirHauteur(&$res);
-
 
44
			$metadonnees['largeur'] = $this->obtenirLargeur(&$res);
-
 
45
			
29
		
46
			$metadonnees['date_prise_de_vue'] = $this->obtenirDatePriseDeVue(&$res);
-
 
-
 
30
		if($this->peutUtiliserExifTool()) {		
47
			
31
			$res = $this->decoderMetadonneesExifTool($chemin_image);			
-
 
32
		} else {
-
 
33
			$res = $this->decoderMetadonneesBasique($chemin_image);		
-
 
34
		}
-
 
35
				
-
 
36
		$metadonnees['meta_exif'] = $this->convertirExifVersXML(&$res);
-
 
37
		$metadonnees['meta_iptc'] = $this->convertirIptcVersXML(&$res);
-
 
38
		$metadonnees['meta_xmp'] = $this->convertirXmpVersXML(&$res);
-
 
39
		$metadonnees['meta_makernote'] = $this->convertirMakernoteVersXML(&$res); 
-
 
40
		
-
 
41
		$metadonnees['appareil_fabriquant'] = $this->obtenirAppareilFabricant(&$res);
-
 
42
		$metadonnees['appareil_modele'] = $this->obtenirAppareilModele(&$res);
-
 
43
		
-
 
44
		$metadonnees['hauteur'] = $this->obtenirHauteur(&$res);
Line 48... Line 45...
48
		} else {
45
		$metadonnees['largeur'] = $this->obtenirLargeur(&$res);
49
			
46
		
Line 50... Line 47...
50
		}
47
		$metadonnees['date_prise_de_vue'] = $this->obtenirDatePriseDeVue(&$res);
Line 128... Line 125...
128
	private function estUnSeparateurCategorieExifTool($data) {
125
	private function estUnSeparateurCategorieExifTool($data) {
129
		return preg_match('^---- (.)* ----^',$data);	
126
		return preg_match('^---- (.)* ----^',$data);	
130
	}
127
	}
Line 131... Line 128...
131
	
128
	
132
	private function parserValeurMetadonneeExifTool($data) {
129
	private function parserValeurMetadonneeExifTool($data) {
Line 133... Line 130...
133
		$cle_valeur = explode(':',$data);
130
		$cle_valeur = explode(':',$data,2);
134
		
131
		
135
		$valeur = '';
132
		$valeur = '';
136
		if(count($cle_valeur) == 2) {
133
		if(count($cle_valeur) == 2) {
Line 197... Line 194...
197
			}
194
			}
198
		}
195
		}
199
		$xml .= '</makernote>';
196
		$xml .= '</makernote>';
Line 200... Line 197...
200
		
197
		
201
		return '';
198
		return '';
-
 
199
	}     
-
 
200
 
-
 
201
    public function decoderMetadonneesBasique($chemin_fichier)
-
 
202
    {   
-
 
203
    	$metadonnees = array();
-
 
204
        $exif = @exif_read_data($chemin_fichier,"EXIF,COMPUTED,IFD0,FILE,COMMENT",true,false);
-
 
205
        
-
 
206
        // tant pis pour les makernote et xmp, les décoder demande trop de librairies externes, autant installer exiftool alors
-
 
207
		$metadonnees['XMP'] = array();
-
 
208
		unset($metadonnees['EXIF']['MakerNote']);
-
 
209
		$metadonnees['MAKERNOTE'] = array();
-
 
210
        
-
 
211
		$metadonnees_non_formatees = array_merge($exif['EXIF'],$exif['IFD0']);
-
 
212
		$metadonnees['EXIF'] = $this->formaterTableauExif(&$metadonnees_non_formatees);
-
 
213
        $metadonnees['IPTC'] = $this->extraireIptc($chemin_fichier);
-
 
214
        $metadonnees['File'] = array('ImageWidth' => array('id' => '', 'valeur' => $exif['COMPUTED']['Width']), 
-
 
215
									 'ImageHeight' => array('id' => '', 'valeur' => $exif['COMPUTED']['Height']));
-
 
216
        
-
 
217
        return $metadonnees ;
-
 
218
    }
-
 
219
    
-
 
220
    private function formaterTableauExif($tableau) {
-
 
221
    	
-
 
222
    	$tableau_exif_formate = array();
-
 
223
    	
-
 
224
    	foreach($tableau as $nom_tag => $valeur) {
-
 
225
    		
-
 
226
    		$id = '';
-
 
227
    		if(isset($this->tableau_ids_tags_exif[$nom_tag])) {
-
 
228
    			$id = $this->tableau_ids_tags_exif[$nom_tag];
-
 
229
    		}
-
 
230
    		
-
 
231
    		$tableau_exif_formate[$nom_tag] = array('id' => $id, 'valeur' => $valeur);
-
 
232
    	}
-
 
233
    	
-
 
234
    	return $tableau_exif_formate;
-
 
235
    }
-
 
236
   
-
 
237
    /**
-
 
238
    * Extraction des metadonnées iptc
-
 
239
    **/
-
 
240
    public function extraireIptc($chemin_fichier)
-
 
241
    {
-
 
242
    	$meta = array();
-
 
243
    	
-
 
244
        // geimagesize renvoie le infos iptc dans le tableau info
-
 
245
        $info = array();
-
 
246
        $size = getimagesize($chemin_fichier, $info);
-
 
247
        
-
 
248
        // s'il existe
-
 
249
        if (isset($info["APP13"]))
-
 
250
        {
-
 
251
            // on parse les donnees
-
 
252
            $iptc = iptcparse($info["APP13"]);
-
 
253
            if ($iptc) {
-
 
254
                // et on les analyse
-
 
255
                foreach ($iptc as $marker => $section)
-
 
256
                {
-
 
257
                    foreach ($section as $nom => $val)
-
 
258
                    {
-
 
259
                        // pour remplir le tableau de donnees
-
 
260
                        $this->decoderValeurIptc($marker, $val ,&$meta) ;
-
 
261
                    }
-
 
262
                }
-
 
263
            }
-
 
264
        }
-
 
265
       
-
 
266
        return $meta ;
-
 
267
    }
-
 
268
   
-
 
269
    /**
-
 
270
    * Stocke une valeur de metadonnées iptc dans le champ du tableau correspondant
-
 
271
    * @param String $nom nom de la valeur
-
 
272
    * @param String $val valeur
-
 
273
    * @param String $data référence vers le tableau où la donnée sera stockée
-
 
274
    **/
-
 
275
    private function decoderValeurIptc($nom, $val ,$data_tab)
-
 
276
    {  
-
 
277
        switch($nom)
-
 
278
        {
-
 
279
            // mots cles iptc
-
 
280
            case "2#005" :
-
 
281
                $data_tab['Category'] = array('id' => '5', 'valeur' => $val);
-
 
282
            break;
-
 
283
           
-
 
284
            // champ by line
-
 
285
            case "2#080" :
-
 
286
                $data_tab['By-Line']  = array('id' => '80', 'valeur' => $val);
-
 
287
            break ;
-
 
288
           
-
 
289
            // champ by line titre
-
 
290
            case "2#085" :
-
 
291
                $data_tab['By-LineTitle'] = array('id' => '85', 'valeur' => $val);
-
 
292
            break ;
-
 
293
           
-
 
294
            // ville
-
 
295
            case "2#090" :
-
 
296
                $data_tab['City'] = array('id' => '90', 'valeur' => $val);
-
 
297
            break ;
-
 
298
           
-
 
299
            // sous location
-
 
300
            case "2#092" :
-
 
301
                $data_tab['SubLocation'] = array('id' => '92', 'valeur' => $val);
-
 
302
            break ;
-
 
303
           
-
 
304
            // etat (pour les us)
-
 
305
            case "2#095" :
-
 
306
                $data_tab['ProvinceState'] = array('id' => '95', 'valeur' => $val);
-
 
307
            break ;
-
 
308
           
-
 
309
            // code pays
-
 
310
            case "2#100" :
-
 
311
                $data_tab['CountryPrimaryLocationCode'] = array('id' => '100', 'valeur' => $val);
-
 
312
            break ;
-
 
313
           
-
 
314
            // code pays
-
 
315
            case "2#101" :
-
 
316
                $data_tab['CountryName'] = array('id' => '101', 'valeur' => $val);
-
 
317
            break ;
-
 
318
           
-
 
319
            // titre principal
-
 
320
            case "2#105" :
-
 
321
                $data_tab['Headline'] = array('id' => '105', 'valeur' => $val);
-
 
322
            break ;
-
 
323
           
-
 
324
            // credit
-
 
325
            case "2#110" :
-
 
326
                $data_tab['Credit'] = array('id' => '110', 'valeur' => $val);
-
 
327
            break ;
-
 
328
           
-
 
329
            // copyright
-
 
330
            case "2#116" :
-
 
331
                $data_tab['CopyrightNotice'] = array('id' => '116', 'valeur' => $val);
-
 
332
            break ;
-
 
333
           
-
 
334
            // contact
-
 
335
            case "2#118" :
-
 
336
                $data_tab['Contact'] = array('id' => '118', 'valeur' => $val);
-
 
337
            break ;
-
 
338
            
-
 
339
            default:
-
 
340
            	unset($data_tab['nom']);
-
 
341
            break;
-
 
342
        }
-
 
343
    }
-
 
344
    
-
 
345
	private $tableau_ids_tags_exif = array('InteropIndex' => '1',
-
 
346
		'InteropVersion' => '2',
-
 
347
		'ProcessingSoftware' => '11',
-
 
348
		'SubfileType' => '254',
-
 
349
		'OldSubfileType' => '255',
-
 
350
		'ImageWidth' => '256',
-
 
351
		'ImageHeight' => '257',
-
 
352
		'BitsPerSample' => '258',
-
 
353
		'Compression' => '259',
-
 
354
		'PhotometricInterpretation' => '262',
-
 
355
		'Thresholding' => '263',
-
 
356
		'CellWidth' => '264',
-
 
357
		'CellLength' => '265',
-
 
358
		'FillOrder' => '266',
-
 
359
		'DocumentName' => '269',
-
 
360
		'ImageDescription' => '270',
-
 
361
		'Make' => '271',
-
 
362
		'Model' => '272',
-
 
363
		'StripOffsets' => '273',
-
 
364
		'Orientation' => '274',
-
 
365
		'SamplesPerPixel' => '277',
-
 
366
		'RowsPerStrip' => '278',
-
 
367
		'StripByteCounts' => '279',
-
 
368
		'MinSampleValue' => '280',
-
 
369
		'MaxSampleValue' => '281',
-
 
370
		'XResolution' => '282',
-
 
371
		'YResolution' => '283',
-
 
372
		'PlanarConfiguration' => '284',
-
 
373
		'PageName' => '285',
-
 
374
		'XPosition' => '286',
-
 
375
		'YPosition' => '287',
-
 
376
		'FreeOffsets' => '288',
-
 
377
		'FreeByteCounts' => '289',
-
 
378
		'GrayResponseUnit' => '290',
-
 
379
		'GrayResponseCurve' => '291',
-
 
380
		'T4Options' => '292',
-
 
381
		'T6Options' => '293',
-
 
382
		'ResolutionUnit' => '296',
-
 
383
		'PageNumber' => '297',
-
 
384
		'ColorResponseUnit' => '300',
-
 
385
		'TransferFunction' => '301',
-
 
386
		'Software' => '305',
-
 
387
		'ModifyDate' => '306',
-
 
388
		'Artist' => '315',
-
 
389
		'HostComputer' => '316',
-
 
390
		'Predictor' => '317',
-
 
391
		'WhitePoint' => '318',
-
 
392
		'PrimaryChromaticities' => '319',
-
 
393
		'ColorMap' => '320',
-
 
394
		'HalftoneHints' => '321',
-
 
395
		'TileWidth' => '322',
-
 
396
		'TileLength' => '323',
-
 
397
		'TileOffsets' => '324',
-
 
398
		'TileByteCounts' => '325',
-
 
399
		'BadFaxLines' => '326',
-
 
400
		'CleanFaxData' => '327',
-
 
401
		'ConsecutiveBadFaxLines' => '328',
-
 
402
		'SubIFD' => '330',
-
 
403
		'InkSet' => '332',
-
 
404
		'InkNames' => '333',
-
 
405
		'NumberofInks' => '334',
-
 
406
		'DotRange' => '336',
-
 
407
		'TargetPrinter' => '337',
-
 
408
		'ExtraSamples' => '338',
-
 
409
		'SampleFormat' => '339',
-
 
410
		'SMinSampleValue' => '340',
-
 
411
		'SMaxSampleValue' => '341',
-
 
412
		'TransferRange' => '342',
-
 
413
		'ClipPath' => '343',
-
 
414
		'XClipPathUnits' => '344',
-
 
415
		'YClipPathUnits' => '345',
-
 
416
		'Indexed' => '346',
-
 
417
		'JPEGTables' => '347',
-
 
418
		'OPIProxy' => '351',
-
 
419
		'GlobalParametersIFD' => '400',
-
 
420
		'ProfileType' => '401',
-
 
421
		'FaxProfile' => '402',
-
 
422
		'CodingMethods' => '403',
-
 
423
		'VersionYear' => '404',
-
 
424
		'ModeNumber' => '405',
-
 
425
		'Decode' => '433',
-
 
426
		'DefaultImageColor' => '434',
-
 
427
		'T82Options' => '435',
-
 
428
		'JPEGTables' => '437',
-
 
429
		'JPEGProc' => '512',
-
 
430
		'ThumbnailOffset' => '513',
-
 
431
		'ThumbnailLength' => '514',
-
 
432
		'JPEGRestartInterval' => '515',
-
 
433
		'JPEGLosslessPredictors' => '517',
-
 
434
		'JPEGPointTransforms' => '518',
-
 
435
		'JPEGQTables' => '519',
-
 
436
		'JPEGDCTables' => '520',
-
 
437
		'JPEGACTables' => '521',
-
 
438
		'YCbCrCoefficients' => '529',
-
 
439
		'YCbCrSubSampling' => '530',
-
 
440
		'YCbCrPositioning' => '531',
-
 
441
		'ReferenceBlackWhite' => '532',
-
 
442
		'StripRowCounts' => '559',
-
 
443
		'ApplicationNotes' => '700',
-
 
444
		'USPTOMiscellaneous' => '999',
-
 
445
		'RelatedImageFileFormat' => '4096',
-
 
446
		'RelatedImageWidth' => '4097',
-
 
447
		'RelatedImageHeight' => '4098',
-
 
448
		'Rating' => '18246',
-
 
449
		'XP_DIP_XML' => '18247',
-
 
450
		'StitchInfo' => '18248',
-
 
451
		'RatingPercent' => '18249',
-
 
452
		'ImageID' => '32781',
-
 
453
		'WangTag1' => '32931',
-
 
454
		'WangAnnotation' => '32932',
-
 
455
		'WangTag3' => '32933',
-
 
456
		'WangTag4' => '32934',
-
 
457
		'Matteing' => '32995',
-
 
458
		'DataType' => '32996',
-
 
459
		'ImageDepth' => '32997',
-
 
460
		'TileDepth' => '32998',
-
 
461
		'Model2' => '33405',
-
 
462
		'CFARepeatPatternDim' => '33421',
-
 
463
		'CFAPattern2' => '33422',
-
 
464
		'BatteryLevel' => '33423',
-
 
465
		'KodakIFD' => '33424',
-
 
466
		'Copyright' => '33432',
-
 
467
		'ExposureTime' => '33434',
-
 
468
		'FNumber' => '33437',
-
 
469
		'MDFileTag' => '33445',
-
 
470
		'MDScalePixel' => '33446',
-
 
471
		'MDColorTable' => '33447',
-
 
472
		'MDLabName' => '33448',
-
 
473
		'MDSampleInfo' => '33449',
-
 
474
		'MDPrepDate' => '33450',
-
 
475
		'MDPrepTime' => '33451',
-
 
476
		'MDFileUnits' => '33452',
-
 
477
		'PixelScale' => '33550',
-
 
478
		'AdventScale' => '33589',
-
 
479
		'AdventRevision' => '33590',
-
 
480
		'UIC1Tag' => '33628',
-
 
481
		'UIC2Tag' => '33629',
-
 
482
		'UIC3Tag' => '33630',
-
 
483
		'UIC4Tag' => '33631',
-
 
484
		'IPTC-NAA' => '33723',
-
 
485
		'IntergraphPacketData' => '33918',
-
 
486
		'IntergraphFlagRegisters' => '33919',
-
 
487
		'IntergraphMatrix' => '33920',
-
 
488
		'INGRReserved' => '33921',
-
 
489
		'ModelTiePoint' => '33922',
-
 
490
		'Site' => '34016',
-
 
491
		'ColorSequence' => '34017',
-
 
492
		'IT8Header' => '34018',
-
 
493
		'RasterPadding' => '34019',
-
 
494
		'BitsPerRunLength' => '34020',
-
 
495
		'BitsPerExtendedRunLength' => '34021',
-
 
496
		'ColorTable' => '34022',
-
 
497
		'ImageColorIndicator' => '34023',
-
 
498
		'BackgroundColorIndicator' => '34024',
-
 
499
		'ImageColorValue' => '34025',
-
 
500
		'BackgroundColorValue' => '34026',
-
 
501
		'PixelIntensityRange' => '34027',
-
 
502
		'TransparencyIndicator' => '34028',
-
 
503
		'ColorCharacterization' => '34029',
-
 
504
		'HCUsage' => '34030',
-
 
505
		'TrapIndicator' => '34031',
-
 
506
		'CMYKEquivalent' => '34032',
-
 
507
		'SEMInfo' => '34118',
-
 
508
		'AFCP_IPTC' => '34152',
-
 
509
		'PixelMagicJBIGOptions' => '34232',
-
 
510
		'ModelTransform' => '34264',
-
 
511
		'WB_GRGBLevels' => '34306',
-
 
512
		'LeafData' => '34310',
-
 
513
		'PhotoshopSettings' => '34377',
-
 
514
		'ExifOffset' => '34665',
-
 
515
		'ICC_Profile' => '34675',
-
 
516
		'TIFF_FXExtensions' => '34687',
-
 
517
		'MultiProfiles' => '34688',
-
 
518
		'SharedData' => '34689',
-
 
519
		'T88Options' => '34690',
-
 
520
		'ImageLayer' => '34732',
-
 
521
		'GeoTiffDirectory' => '34735',
-
 
522
		'GeoTiffDoubleParams' => '34736',
-
 
523
		'GeoTiffAsciiParams' => '34737',
-
 
524
		'ExposureProgram' => '34850',
-
 
525
		'SpectralSensitivity' => '34852',
-
 
526
		'GPSInfo' => '34853',
-
 
527
		'ISO' => '34855',
-
 
528
		'Opto-ElectricConvFactor' => '34856',
-
 
529
		'Interlace' => '34857',
-
 
530
		'TimeZoneOffset' => '34858',
-
 
531
		'SelfTimerMode' => '34859',
-
 
532
		'SensitivityType' => '34864',
-
 
533
		'StandardOutputSensitivity' => '34865',
-
 
534
		'RecommendedExposureIndex' => '34866',
-
 
535
		'ISOSpeed' => '34867',
-
 
536
		'ISOSpeedLatitudeyyy' => '34868',
-
 
537
		'ISOSpeedLatitudezzz' => '34869',
-
 
538
		'FaxRecvParams' => '34908',
-
 
539
		'FaxSubAddress' => '34909',
-
 
540
		'FaxRecvTime' => '34910',
-
 
541
		'LeafSubIFD' => '34954',
-
 
542
		'ExifVersion' => '36864',
-
 
543
		'DateTimeOriginal' => '36867',
-
 
544
		'CreateDate' => '36868',
-
 
545
		'ComponentsConfiguration' => '37121',
-
 
546
		'CompressedBitsPerPixel' => '37122',
-
 
547
		'ShutterSpeedValue' => '37377',
-
 
548
		'ApertureValue' => '37378',
-
 
549
		'BrightnessValue' => '37379',
-
 
550
		'ExposureCompensation' => '37380',
-
 
551
		'MaxApertureValue' => '37381',
-
 
552
		'SubjectDistance' => '37382',
-
 
553
		'MeteringMode' => '37383',
-
 
554
		'LightSource' => '37384',
-
 
555
		'Flash' => '37385',
-
 
556
		'FocalLength' => '37386',
-
 
557
		'FlashEnergy' => '37387',
-
 
558
		'SpatialFrequencyResponse' => '37388',
-
 
559
		'Noise' => '37389',
-
 
560
		'FocalPlaneXResolution' => '37390',
-
 
561
		'FocalPlaneYResolution' => '37391',
-
 
562
		'FocalPlaneResolutionUnit' => '37392',
-
 
563
		'ImageNumber' => '37393',
-
 
564
		'SecurityClassification' => '37394',
-
 
565
		'ImageHistory' => '37395',
-
 
566
		'SubjectArea' => '37396',
-
 
567
		'ExposureIndex' => '37397',
-
 
568
		'TIFF-EPStandardID' => '37398',
-
 
569
		'SensingMethod' => '37399',
-
 
570
		'CIP3DataFile' => '37434',
-
 
571
		'CIP3Sheet' => '37435',
-
 
572
		'CIP3Side' => '37436',
-
 
573
		'StoNits' => '37439',
-
 
574
		'MakerNoteCanon' => '37500',
-
 
575
		'UserComment' => '37510',
-
 
576
		'SubSecTime' => '37520',
-
 
577
		'SubSecTimeOriginal' => '37521',
-
 
578
		'SubSecTimeDigitized' => '37522',
-
 
579
		'MSDocumentText' => '37679',
-
 
580
		'MSPropertySetStorage' => '37680',
-
 
581
		'MSDocumentTextPosition' => '37681',
-
 
582
		'ImageSourceData' => '37724',
-
 
583
		'XPTitle' => '40091',
-
 
584
		'XPComment' => '40092',
-
 
585
		'XPAuthor' => '40093',
-
 
586
		'XPKeywords' => '40094',
-
 
587
		'XPSubject' => '40095',
-
 
588
		'FlashpixVersion' => '40960',
-
 
589
		'ColorSpace' => '40961',
-
 
590
		'ExifImageWidth' => '40962',
-
 
591
		'ExifImageHeight' => '40963',
-
 
592
		'RelatedSoundFile' => '40964',
-
 
593
		'InteropOffset' => '40965',
-
 
594
		'FlashEnergy' => '41483',
-
 
595
		'SpatialFrequencyResponse' => '41484',
-
 
596
		'Noise' => '41485',
-
 
597
		'FocalPlaneXResolution' => '41486',
-
 
598
		'FocalPlaneYResolution' => '41487',
-
 
599
		'FocalPlaneResolutionUnit' => '41488',
-
 
600
		'ImageNumber' => '41489',
-
 
601
		'SecurityClassification' => '41490',
-
 
602
		'ImageHistory' => '41491',
-
 
603
		'SubjectLocation' => '41492',
-
 
604
		'ExposureIndex' => '41493',
-
 
605
		'TIFF-EPStandardID' => '41494',
-
 
606
		'SensingMethod' => '41495',
-
 
607
		'FileSource' => '41728',
-
 
608
		'SceneType' => '41729',
-
 
609
		'CFAPattern' => '41730',
-
 
610
		'CustomRendered' => '41985',
-
 
611
		'ExposureMode' => '41986',
-
 
612
		'WhiteBalance' => '41987',
-
 
613
		'DigitalZoomRatio' => '41988',
-
 
614
		'FocalLengthIn35mmFormat' => '41989',
-
 
615
		'SceneCaptureType' => '41990',
-
 
616
		'GainControl' => '41991',
-
 
617
		'Contrast' => '41992',
-
 
618
		'Saturation' => '41993',
-
 
619
		'Sharpness' => '41994',
-
 
620
		'DeviceSettingDescription' => '41995',
-
 
621
		'SubjectDistanceRange' => '41996',
-
 
622
		'ImageUniqueID' => '42016',
-
 
623
		'OwnerName' => '42032',
-
 
624
		'SerialNumber' => '42033',
-
 
625
		'LensInfo' => '42034',
-
 
626
		'LensMake' => '42035',
-
 
627
		'LensModel' => '42036',
-
 
628
		'LensSerialNumber' => '42037',
-
 
629
		'GDALMetadata' => '42112',
-
 
630
		'GDALNoData' => '42113',
-
 
631
		'Gamma' => '42240',
-
 
632
		'ExpandSoftware' => '44992',
-
 
633
		'ExpandLens' => '44993',
-
 
634
		'ExpandFilm' => '44994',
-
 
635
		'ExpandFilterLens' => '44995',
-
 
636
		'ExpandScanner' => '44996',
-
 
637
		'ExpandFlashLamp' => '44997',
-
 
638
		'PixelFormat' => '48129',
-
 
639
		'Transformation' => '48130',
-
 
640
		'Uncompressed' => '48131',
-
 
641
		'ImageType' => '48132',
-
 
642
		'ImageWidth' => '48256',
-
 
643
		'ImageHeight' => '48257',
-
 
644
		'WidthResolution' => '48258',
-
 
645
		'HeightResolution' => '48259',
-
 
646
		'ImageOffset' => '48320',
-
 
647
		'ImageByteCount' => '48321',
-
 
648
		'AlphaOffset' => '48322',
-
 
649
		'AlphaByteCount' => '48323',
-
 
650
		'ImageDataDiscard' => '48324',
-
 
651
		'AlphaDataDiscard' => '48325',
-
 
652
		'OceScanjobDesc' => '50215',
-
 
653
		'OceApplicationSelector' => '50216',
-
 
654
		'OceIDNumber' => '50217',
-
 
655
		'OceImageLogic' => '50218',
-
 
656
		'Annotations' => '50255',
-
 
657
		'PrintIM' => '50341',
-
 
658
		'USPTOOriginalContentType' => '50560',
-
 
659
		'DNGVersion' => '50706',
-
 
660
		'DNGBackwardVersion' => '50707',
-
 
661
		'UniqueCameraModel' => '50708',
-
 
662
		'LocalizedCameraModel' => '50709',
-
 
663
		'CFAPlaneColor' => '50710',
-
 
664
		'CFALayout' => '50711',
-
 
665
		'LinearizationTable' => '50712',
-
 
666
		'BlackLevelRepeatDim' => '50713',
-
 
667
		'BlackLevel' => '50714',
-
 
668
		'BlackLevelDeltaH' => '50715',
-
 
669
		'BlackLevelDeltaV' => '50716',
-
 
670
		'WhiteLevel' => '50717',
-
 
671
		'DefaultScale' => '50718',
-
 
672
		'DefaultCropOrigin' => '50719',
-
 
673
		'DefaultCropSize' => '50720',
-
 
674
		'ColorMatrix1' => '50721',
-
 
675
		'ColorMatrix2' => '50722',
-
 
676
		'CameraCalibration1' => '50723',
-
 
677
		'CameraCalibration2' => '50724',
-
 
678
		'ReductionMatrix1' => '50725',
-
 
679
		'ReductionMatrix2' => '50726',
-
 
680
		'AnalogBalance' => '50727',
-
 
681
		'AsShotNeutral' => '50728',
-
 
682
		'AsShotWhiteXY' => '50729',
-
 
683
		'BaselineExposure' => '50730',
-
 
684
		'BaselineNoise' => '50731',
-
 
685
		'BaselineSharpness' => '50732',
-
 
686
		'BayerGreenSplit' => '50733',
-
 
687
		'LinearResponseLimit' => '50734',
-
 
688
		'CameraSerialNumber' => '50735',
-
 
689
		'DNGLensInfo' => '50736',
-
 
690
		'ChromaBlurRadius' => '50737',
-
 
691
		'AntiAliasStrength' => '50738',
-
 
692
		'ShadowScale' => '50739',
-
 
693
		'SR2Private' => '50740',
-
 
694
		'MakerNoteSafety' => '50741',
-
 
695
		'RawImageSegmentation' => '50752',
-
 
696
		'CalibrationIlluminant1' => '50778',
-
 
697
		'CalibrationIlluminant2' => '50779',
-
 
698
		'BestQualityScale' => '50780',
-
 
699
		'RawDataUniqueID' => '50781',
-
 
700
		'AliasLayerMetadata' => '50784',
-
 
701
		'OriginalRawFileName' => '50827',
-
 
702
		'OriginalRawFileData' => '50828',
-
 
703
		'ActiveArea' => '50829',
-
 
704
		'MaskedAreas' => '50830',
-
 
705
		'AsShotICCProfile' => '50831',
-
 
706
		'AsShotPreProfileMatrix' => '50832',
-
 
707
		'CurrentICCProfile' => '50833',
-
 
708
		'CurrentPreProfileMatrix' => '50834',
-
 
709
		'ColorimetricReference' => '50879',
-
 
710
		'PanasonicTitle' => '50898',
-
 
711
		'PanasonicTitle2' => '50899',
-
 
712
		'CameraCalibrationSig' => '50931',
-
 
713
		'ProfileCalibrationSig' => '50932',
-
 
714
		'ProfileIFD' => '50933',
-
 
715
		'AsShotProfileName' => '50934',
-
 
716
		'NoiseReductionApplied' => '50935',
-
 
717
		'ProfileName' => '50936',
-
 
718
		'ProfileHueSatMapDims' => '50937',
-
 
719
		'ProfileHueSatMapData1' => '50938',
-
 
720
		'ProfileHueSatMapData2' => '50939',
-
 
721
		'ProfileToneCurve' => '50940',
-
 
722
		'ProfileEmbedPolicy' => '50941',
-
 
723
		'ProfileCopyright' => '50942',
-
 
724
		'ForwardMatrix1' => '50964',
-
 
725
		'ForwardMatrix2' => '50965',
-
 
726
		'PreviewApplicationName' => '50966',
-
 
727
		'PreviewApplicationVersion' => '50967',
-
 
728
		'PreviewSettingsName' => '50968',
-
 
729
		'PreviewSettingsDigest' => '50969',
-
 
730
		'PreviewColorSpace' => '50970',
-
 
731
		'PreviewDateTime' => '50971',
-
 
732
		'RawImageDigest' => '50972',
-
 
733
		'OriginalRawFileDigest' => '50973',
-
 
734
		'SubTileBlockSize' => '50974',
-
 
735
		'RowInterleaveFactor' => '50975',
-
 
736
		'ProfileLookTableDims' => '50981',
-
 
737
		'ProfileLookTableData' => '50982',
-
 
738
		'OpcodeList1' => '51008',
-
 
739
		'OpcodeList2' => '51009',
-
 
740
		'OpcodeList3' => '51022',
-
 
741
		'NoiseProfile' => '51041',
-
 
742
		'Padding' => '59932',
-
 
743
		'OffsetSchema' => '59933',
-
 
744
		'OwnerName' => '65000',
-
 
745
		'SerialNumber' => '65001',
-
 
746
		'Lens' => '65002',
-
 
747
		'KDC_IFD' => '65024',
-
 
748
		'RawFile' => '65100',
-
 
749
		'Converter' => '65101',
-
 
750
		'WhiteBalance' => '65102',
-
 
751
		'Exposure' => '65105',
-
 
752
		'Shadows' => '65106',
-
 
753
		'Brightness' => '65107',
-
 
754
		'Contrast' => '65108',
-
 
755
		'Saturation' => '65109',
-
 
756
		'Sharpness' => '65110',
-
 
757
		'Smoothness' => '65111',
-
 
758
		'MoireFilter' => '65112',
202
	}
759
	);
203
}
-
 
204
?>
760
}
-
 
761
?> 
205
762