exif 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/exif/data.c +1 -1
- data/ext/exif/data.h +1 -1
- data/ext/exif/exif_entry_to_ivar.c +60 -0
- data/ext/exif/extconf.rb +1 -0
- data/lib/exif/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99fc8c3352a6b7fb6ed711235a8e591ad67e886002e553cce0adf99985fc6cf3
|
4
|
+
data.tar.gz: '0815653149598f32ab68d4c06a7cf08038f83a47bbc2ce2190b3b726d128933c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0d12c8de1440301baa8f5e6d7c26f0a3b1b91565869ff58628f6552288d46fd264eae9ae73569c24c1fffd4f06c702b9ca031061bebf5d8cab34190ca841f11
|
7
|
+
data.tar.gz: 9919292d1b0c6e33a0ca5e883f715c6ff801a5c9ac3fd9e736893ab5d8ac7bbb2a58104952975a006789e714bd850f1226b208840660b44774b80f8d7f213e81
|
data/ext/exif/data.c
CHANGED
data/ext/exif/data.h
CHANGED
@@ -447,6 +447,66 @@ const char *exif_entry_to_ivar(ExifEntry *ee) {
|
|
447
447
|
case EXIF_TAG_GPS_DIFFERENTIAL:
|
448
448
|
return "@gps_differential";
|
449
449
|
break;
|
450
|
+
case EXIF_TAG_BODY_SERIAL_NUMBER:
|
451
|
+
return "@body_serial_number";
|
452
|
+
break;
|
453
|
+
case EXIF_TAG_CAMERA_OWNER_NAME:
|
454
|
+
return "@camera_owner_name";
|
455
|
+
break;
|
456
|
+
case EXIF_TAG_COMPOSITE_IMAGE:
|
457
|
+
return "@composite_image";
|
458
|
+
break;
|
459
|
+
case EXIF_TAG_GPS_H_POSITIONING_ERROR:
|
460
|
+
return "@gps_h_positioning_error";
|
461
|
+
break;
|
462
|
+
case EXIF_TAG_IMAGE_DEPTH:
|
463
|
+
return "@image_depth";
|
464
|
+
break;
|
465
|
+
case EXIF_TAG_ISO_SPEED:
|
466
|
+
return "@iso_speed";
|
467
|
+
break;
|
468
|
+
case EXIF_TAG_ISO_SPEEDLatitudeYYY:
|
469
|
+
return "@iso_speedlatitudeyyy";
|
470
|
+
break;
|
471
|
+
case EXIF_TAG_ISO_SPEEDLatitudeZZZ:
|
472
|
+
return "@iso_speedlatitudezzz";
|
473
|
+
break;
|
474
|
+
case EXIF_TAG_LENS_MAKE:
|
475
|
+
return "@lens_make";
|
476
|
+
break;
|
477
|
+
case EXIF_TAG_LENS_MODEL:
|
478
|
+
return "@lens_model";
|
479
|
+
break;
|
480
|
+
case EXIF_TAG_LENS_SERIAL_NUMBER:
|
481
|
+
return "@lens_serial_number";
|
482
|
+
break;
|
483
|
+
case EXIF_TAG_LENS_SPECIFICATION:
|
484
|
+
return "@lens_specification";
|
485
|
+
break;
|
486
|
+
case EXIF_TAG_OFFSET_TIME:
|
487
|
+
return "@offset_time";
|
488
|
+
break;
|
489
|
+
case EXIF_TAG_OFFSET_TIME_DIGITIZED:
|
490
|
+
return "@offset_time_digitized";
|
491
|
+
break;
|
492
|
+
case EXIF_TAG_OFFSET_TIME_ORIGINAL:
|
493
|
+
return "@offset_time_original";
|
494
|
+
break;
|
495
|
+
case EXIF_TAG_RECOMMENDED_EXPOSURE_INDEX:
|
496
|
+
return "@recommended_exposure_index";
|
497
|
+
break;
|
498
|
+
case EXIF_TAG_SENSITIVITY_TYPE:
|
499
|
+
return "@sensitivity_type";
|
500
|
+
break;
|
501
|
+
case EXIF_TAG_SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE:
|
502
|
+
return "@source_exposure_times_of_composite_image";
|
503
|
+
break;
|
504
|
+
case EXIF_TAG_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE:
|
505
|
+
return "@source_image_number_of_composite_image";
|
506
|
+
break;
|
507
|
+
case EXIF_TAG_STANDARD_OUTPUT_SENSITIVITY:
|
508
|
+
return "@standard_output_sensitivity";
|
509
|
+
break;
|
450
510
|
}
|
451
511
|
return 0;
|
452
512
|
}
|
data/ext/exif/extconf.rb
CHANGED
data/lib/exif/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exif
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jian Weihang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
rubygems_version: 3.
|
88
|
+
rubygems_version: 3.3.7
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: Ruby EXIF reader written in C extension.
|