PHP Exif Library. A library for reading and writing Exif headers in JPEG and TIFF images using PHP
PHP Shell
Latest commit c9e3919 Feb 3, 2017 @svenbluege svenbluege committed with weberhofer Test case for #77 (#87)
* #77 adds unit test to test for getting the right model string from the image
Permalink
Failed to load latest commit information.
examples Converted examples readme to markdown Apr 21, 2016
po Remove whitespace [Gun.io WhitespaceBot] Dec 16, 2011
scripts Switch from simpletest to PHPUnit Apr 8, 2016
src Take all chacracters into account extracing ASCII (#92) Feb 3, 2017
test Test case for #77 (#87) Feb 3, 2017
tutorials/PEL Remove whitespace [Gun.io WhitespaceBot] Dec 16, 2011
.gitignore Updated dependencies for composer and added composer.lock (#86) Feb 2, 2017
.scrutinizer.yml Switch from simpletest to PHPUnit Apr 8, 2016
.travis.yml Updated dependencies for composer and added composer.lock (#86) Feb 2, 2017
AUTHORS Switch from simpletest to PHPUnit Apr 8, 2016
CHANGELOG.md Updated docs to be in Markdown Apr 8, 2016
COPYING Updated with current address of FSF. Oct 1, 2005
INSTALL.md Updated docs to be in Markdown Apr 8, 2016
README.markdown Specify PHPUnit as test method (#88) Feb 2, 2017
TODO Fixed read-write unit tests. It tests the DATE_TIME tags and Jan 8, 2006
autoload.php Fixed issues pointed out by Insight by SensioLabs Apr 21, 2016
composer.json Updated dependencies for composer and added composer.lock (#86) Feb 2, 2017
composer.lock Updated dependencies for composer and added composer.lock (#86) Feb 2, 2017
make-release.sh Small changes Dec 5, 2010
makepackagexml.php Fixed issues pointed out by Insight by SensioLabs Apr 21, 2016
phpunit.xml Switch from simpletest to PHPUnit Apr 8, 2016
run-phpdoc.sh Remove whitespace [Gun.io WhitespaceBot] Dec 16, 2011
update-locales.sh Remove whitespace [Gun.io WhitespaceBot] Dec 16, 2011
update-pot.sh Fixed capitalization of Exif to follow the standard. Oct 3, 2005

README.markdown

PEL: PHP Exif Library

Build Status Code Coverage Scrutinizer Code Quality Latest Stable Version Total Downloads License

README file for PEL: PHP Exif Library. A library with support for reading and writing Exif headers in JPEG and TIFF images using PHP.

Copyright (C) 2004, 2005, 2006 Martin Geisler. Licensed under the GNU GPL, see COPYING for details.

Description

The PHP Exif Library (PEL) makes it easy to develop programs that will read and write the Exif metadata headers found in JPEG and TIFF images. See the file INSTALL for an introduction to how PEL can be used by your application.

PEL is a library written entirely in PHP 5, which means that it does not have any dependencies outside the core of PHP, it does not even use the Exif module available for PHP.

Please note that the API for PEL is not yet frozen, and it will remain changeable until version 1.0 is reached. Read the NEWS file for important information about API changes.

Also, please go to the PEL development mailing list (look below) and share your ideas about how the API should look like.

Documentation Overview

  • README.markdown: gives you a short introduction to PEL (this file).
  • INSTALL.md: explain how to install and get going with PEL.
  • CHANGELOG.md: contains important information about changes in PEL.
  • examples/: small self-contained examples of how to use PEL.
  • AUTHORS: list of people who have helped.
  • run run-phpdoc.sh to generate API-documention or see it online at http://lsolesen.github.com/pel

Features of PEL

  • Reads and writes Exif metadata from both JPEG and TIFF images.
  • Supports reading and writing all Exif tags.
  • Supports internationalization.
  • Extensible object-oriented design.
  • PhpUnit tested
  • Documented with PhpDocumentor (http://phpdoc.org/).

Helping out

Help will be very much appreciated. You can report issues, run the test suite, add patches. The best way to help out is applying patches and helping out with the tests. See instructions in the test/ directory.

All changes to code should be issued through a pull request, and other maintainers should review the code and merge it.

Languages

To work with the translations, you need the gettext package installed.

Getting Support

The first place you should consult for support is the documentation supplied with PEL, found in the doc/ directory. There you will find a complete API documentation with descriptions of all classes and files in PEL.

The scripts found in the examples/ directory are also a good source of information, especially the edit-description.php file which has tons of comments.

PEL is hosted on Github and uses the tools found there for support. This means that all questions, bug reports, etc. should be directed there (and not directly to the developers).

Please try the latest version before reporting bugs -- it might have been fixed already. The latest code can be found in the git repository at

http://github.com/lsolesen/pel

It is very helpful if you try out the latest code from the git repository before submitting a bug report. The code found there is generally very stable.

Contributing Test Images

To make PEL as stable as possible, it is tested with images from a number of different camera models.

New test images are very much appreciated -- please download the existing test images and read the README file found there for instructions.

Credits

Please see the AUTHORS file for a list of people who have contributed to PEL. See the full list of code contributors.