简体   繁体   中英

php - parse EXIF data?

I get the EXIF data of images

'ExposureTime' => string '10/150' (length=6)
'FNumber' => string '35/10' (length=5)
'ISOSpeedRatings' => int 100
'FocalLength' => string '180/10' (length=6)

What should i do to it look like below

Focal Length  18mm
Exposure Time 1/15 sec
ISO- Speed ISO-100
F-Number = F/3.5

So is there a library php allow me read and parse data to look like when i view image's properties ? or some rules for me calculate base on it

What should i do to it look like below

you should convert received values to numbers and display them in a proper way. where's the problem?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM