Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
Converted examples readme to markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
lsolesen committed Apr 21, 2016
1 parent f8f2f12 commit 1df073d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions examples/README → examples/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
README file for PEL Examples.
# README file for PEL Examples

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


PEL Examples
************
## PEL Examples

This directory contains various examples of how PEL can be used in
small scripts. The scripts are meant to be executed from the command
line and they assume that you have PHP installed as /usr/bin/php. If
that is not the case, then please adjust the first line before
executing the scripts, or simply execute them as

% php <script> <arguments>
```
% php <script> <arguments>
```

and let your shell find the PHP executable.

Expand All @@ -38,19 +35,22 @@ The examples are:
The script is heavely commented, and should be used as a good
reference as to how PEL works and how it should be used.

* gps.php: shows how to add GPS information to an image using PEL.

* rename.php: a script similar to dirsort.php, only that this one will
rename photos to a filename containing the full date and time taken
from the DateTime Exif tag.

* resize.php: a script to resize images.


Contributing New Examples
*************************
## Contributing New Examples

More examples are needed! If you have a neat example of how PEL can
be used, then please contribute it to PEL. Please submit it as a new
item in the Github issue tracker:

http://github.com/lsolesen/pel/issues

It will then be included in the next release of PEL, of course with
full credit in the AUTHORS file.
Or issue a pull request. It will then be included in the next release
of PEL, of course with full credit in the AUTHORS file.

0 comments on commit 1df073d

Please sign in to comment.