ExifTool Forum

ExifTool => Developers => Topic started by: php_starter on March 22, 2013, 01:22:47 PM

Title: Help with exiftool
Post by: php_starter on March 22, 2013, 01:22:47 PM
Hello,

I`m new in this and I`m trying to use exiftool to read metadata from jpeg files and edit them than save the new data to the same jpeg file.
I tried to search the web but I could not find an easy and simple tutorial how to work with exiftool for php (I have the exiftool library).
How do I add the library? How do I get the data into an array (for example)? How do I save it to the same file?

HELP! please.
Thank you
Title: Re: Help with exiftool
Post by: Phil Harvey on March 22, 2013, 01:25:20 PM
Did you see the PHP wrapper for ExifTool, linked from the Programming Resources section of the home page?  I'm not sure how complete this library is, but it is a place to start.

- Phil
Title: Re: Help with exiftool
Post by: php_starter on March 22, 2013, 01:30:08 PM
Hi,
Thanks for reply. I saw it and download it but could not make it work.
Any easy simple tutorials about it?
Title: Re: Help with exiftool
Post by: Phil Harvey on March 22, 2013, 01:37:48 PM
Looking at the files on GitHub, I see some tests that may provide examples.  But whoa, the code in AbstractWriterTest looks very complex, whereas the ExifTool Perl API is very simple.

- Phil
Title: Re: Help with exiftool
Post by: php_starter on March 22, 2013, 01:50:05 PM
I don`t work with perl, I need to make it work with PHP.

Any ideas?

Thanks
Title: Re: Help with exiftool
Post by: Phil Harvey on March 22, 2013, 02:20:36 PM
Any PHP programmers out there?
Title: Re: Help with exiftool
Post by: php_starter on March 26, 2013, 11:09:52 AM
Hello,

I have another question:
I need it to run in linux, Can I use the same command file as windows?
How do I use it on linux?

Thanks
Title: Re: Help with exiftool
Post by: Phil Harvey on March 26, 2013, 11:16:28 AM
I don't know what you mean by command file, but the exiftool commands are generally the same in Linux and Windows, except that  the quotes you need to use may be different.

- Phil