@@ -330,7 +330,7 @@ static char *exif_get_tagformat(int format)
330
330
#define TAG_BITS_PER_SAMPLE 0x0102
331
331
#define TAG_COMPRESSION 0x0103
332
332
#define TAG_PHOTOMETRIC_INTERPRETATION 0x0106
333
- #define TAG_TRESHHOLDING 0x0107
333
+ #define TAG_THRESHOLDING 0x0107
334
334
#define TAG_CELL_WIDTH 0x0108
335
335
#define TAG_CELL_HEIGHT 0x0109
336
336
#define TAG_FILL_ORDER 0x010A
@@ -343,7 +343,7 @@ static char *exif_get_tagformat(int format)
343
343
#define TAG_SAMPLES_PER_PIXEL 0x0115
344
344
#define TAG_ROWS_PER_STRIP 0x0116
345
345
#define TAG_STRIP_BYTE_COUNTS 0x0117
346
- #define TAG_MIN_SAMPPLE_VALUE 0x0118
346
+ #define TAG_MIN_SAMPLE_VALUE 0x0118
347
347
#define TAG_MAX_SAMPLE_VALUE 0x0119
348
348
#define TAG_X_RESOLUTION 0x011A
349
349
#define TAG_Y_RESOLUTION 0x011B
@@ -372,7 +372,7 @@ static char *exif_get_tagformat(int format)
372
372
#define TAG_TILE_OFFSETS 0x0144
373
373
#define TAG_TILE_BYTE_COUNTS 0x0145
374
374
#define TAG_SUB_IFD 0x014A
375
- #define TAG_INK_SETMPUTER 0x014C
375
+ #define TAG_INK_SET 0x014C
376
376
#define TAG_INK_NAMES 0x014D
377
377
#define TAG_NUMBER_OF_INKS 0x014E
378
378
#define TAG_DOT_RANGE 0x0150
@@ -412,7 +412,7 @@ static char *exif_get_tagformat(int format)
412
412
#define TAG_EXIF_IFD_POINTER 0x8769
413
413
#define TAG_ICC_PROFILE 0x8773
414
414
#define TAG_EXPOSURE_PROGRAM 0x8822
415
- #define TAG_SPECTRAL_SENSITY 0x8824
415
+ #define TAG_SPECTRAL_SENSITIVITY 0x8824
416
416
#define TAG_GPS_IFD_POINTER 0x8825
417
417
#define TAG_ISOSPEED 0x8827
418
418
#define TAG_OPTOELECTRIC_CONVERSION_F 0x8828
@@ -685,7 +685,7 @@ static tag_info_array tag_table_IFD = {
685
685
{ 0x8769 , "Exif_IFD_Pointer" },
686
686
{ 0x8773 , "ICC_Profile" },
687
687
{ 0x8822 , "ExposureProgram" },
688
- { 0x8824 , "SpectralSensity " },
688
+ { 0x8824 , "SpectralSensitivity " },
689
689
{ 0x8825 , "GPS_IFD_Pointer" },
690
690
{ 0x8827 , "ISOSpeedRatings" },
691
691
{ 0x8828 , "OECF" },
@@ -3206,7 +3206,7 @@ static bool exif_process_IFD_in_MAKERNOTE(image_info_type *ImageInfo, char * val
3206
3206
3207
3207
/* It can be that motorola_intel is wrongly mapped, let's try inverting it */
3208
3208
if ((2 + NumDirEntries * 12 ) > value_len ) {
3209
- exif_error_docref (NULL EXIFERR_CC , ImageInfo , E_NOTICE , "Potentially invalid endianess , trying again with different endianness before imminent failure." );
3209
+ exif_error_docref (NULL EXIFERR_CC , ImageInfo , E_NOTICE , "Potentially invalid endianness , trying again with different endianness before imminent failure." );
3210
3210
3211
3211
ImageInfo -> motorola_intel = ImageInfo -> motorola_intel == 0 ? 1 : 0 ;
3212
3212
NumDirEntries = php_ifd_get16u (dir_start , ImageInfo -> motorola_intel );
@@ -3479,7 +3479,7 @@ static bool exif_process_IFD_TAG_impl(image_info_type *ImageInfo, char *dir_entr
3479
3479
break ;
3480
3480
3481
3481
case TAG_SUBJECT_DISTANCE :
3482
- /* Inidcates the distacne the autofocus camera is focused to.
3482
+ /* Indicates the distance the autofocus camera is focused to.
3483
3483
Tends to be less accurate as distance increases. */
3484
3484
REQUIRE_NON_EMPTY ();
3485
3485
ImageInfo -> Distance = (float )exif_convert_any_format (value_ptr , format , ImageInfo -> motorola_intel );
@@ -3497,7 +3497,7 @@ static bool exif_process_IFD_TAG_impl(image_info_type *ImageInfo, char *dir_entr
3497
3497
break ;
3498
3498
3499
3499
case 3 : ImageInfo -> FocalplaneUnits = 10 ; break ; /* centimeter */
3500
- case 4 : ImageInfo -> FocalplaneUnits = 1 ; break ; /* milimeter */
3500
+ case 4 : ImageInfo -> FocalplaneUnits = 1 ; break ; /* millimeter */
3501
3501
case 5 : ImageInfo -> FocalplaneUnits = .001 ; break ; /* micrometer */
3502
3502
}
3503
3503
break ;
@@ -4122,7 +4122,7 @@ static bool exif_process_IFD_in_TIFF_impl(image_info_type *ImageInfo, size_t dir
4122
4122
}
4123
4123
} else {
4124
4124
entry_offset = php_ifd_get32u (dir_entry + 8 , ImageInfo -> motorola_intel );
4125
- /* if entry needs expading ifd cache and entry is at end of current ifd cache. */
4125
+ /* if entry needs expanding ifd cache and entry is at end of current ifd cache. */
4126
4126
/* otherwise there may be huge holes between two entries */
4127
4127
if (entry_offset + entry_length > dir_offset + ifd_size
4128
4128
&& entry_offset == dir_offset + ifd_size ) {
0 commit comments