Php 读取exif数据未显示正确的数据
我正在使用Php 读取exif数据未显示正确的数据,php,codeigniter,Php,Codeigniter,我正在使用read\u exif\u data函数获取上传图像的详细信息,但在某些情况下数据无法正确显示。 我正在共享分辨率小于1的图像的输出 Array ( [FileName] => 1444195025.jpg [FileDateTime] => 1444195025 [FileSize] => 1777209 [FileType] => 2 [MimeType] => image/jpeg [SectionsFound] => ANY_TAG, IFD
read\u exif\u data
函数获取上传图像的详细信息,但在某些情况下数据无法正确显示。
我正在共享分辨率小于1的图像的输出
Array
(
[FileName] => 1444195025.jpg
[FileDateTime] => 1444195025
[FileSize] => 1777209
[FileType] => 2
[MimeType] => image/jpeg
[SectionsFound] => ANY_TAG, IFD0, THUMBNAIL, EXIF
[COMPUTED] => Array
(
[html] => width="1893" height="1494"
[Height] => 1494
[Width] => 1893
[IsColor] => 1
[ByteOrderMotorola] => 0
[Copyright] =>
)
[ImageWidth] => 1893
[ImageLength] => 1494
[BitsPerSample] => 8
[Compression] => 1
[PhotometricInterpretation] => 1
[ImageDescription] =>
[Orientation] => 1
[SamplesPerPixel] => 1
**[XResolution] => 1/316
[YResolution] => 372/283465**
[ResolutionUnit] => 3
[Software] => '
[DateTime] => 5.1 Windows
[Artist] => 03 23:26:03
[Copyright] =>
[Exif_IFD_Pointer] => 316
[THUMBNAIL] => Array
(
[Compression] => 6
[XResolution] => 72/1
[YResolution] => 72/1
[ResolutionUnit] => 2
[JPEGInterchangeFormat] => 466
[JPEGInterchangeFormatLength] => 8382
)
[ExifVersion] => 0221
[ColorSpace] => 1
[ExifImageWidth] => 1893
[ExifImageLength] => 1494
)
我对图像的
分辨率小于1
而图像大小约为1.8MB
感到困惑。我正在使用codeigniter框架。您能告诉我们您的代码在哪里使用此功能吗?