开发者

Best way to process Exif data in backend?

There are a lot of ways to process Exif data in backend, but they all have their problem of supporting most of the camera. The main one I came across is Perl powered http://www.sno.phy.queensu.ca/~phil/exiftool/. What is the major software that people use to process exif data.

It would nice if such tool has PHP interface but it doesn't really matter as long as it support command line executi开发者_StackOverflow社区on

Thank you very much.


There are a lot of ways to process Exif data in backend, but they all have their problem of supporting most of the camera.

All the camera model/vendor specific data is under MakerNote tag group. Furthermore the data usually is in a proprietary binary format.

You're on the right tracks with ExifTool, as it currently supports the widest variety of cameras: Canon, Casio, FujiFilm, GE, HP, JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony.

Another tool with wide camera support is OZHiker's PHP JPEG Metadata toolkit, which might suit you better (having "PHP in its name). It supports: Agfa, Canon, Casio, Epson, Fujifilm, Konica/Minolta, Kyocera/Contax, Nikon, Olympus, Panasonic, Pentax/Asahi, Ricoh and Sony.

(see also a brief comparison on Wikipedia)

I've used ExifTool a lot and can really vouch for it. It is powerful for both read and write operations; even when dealing with proprietary data.

Also note that ExifTool was last updated 04/2011 — while OZHiker's tool was 01/2005.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜