Questions tagged [pel]

The PHP Exif Library (PEL) is a library that will read and write the Exif metadata headers found in JPEG and TIFF images.

The PHP Exif Library (PEL) is a library that will read and write the Exif metadata headers found in JPEG and TIFF images.

See: https://github.com/lsolesen/pel

7 questions
2
votes
2 answers

Using PEL (PHP EXIF Library), is there a way to remove the embedded thumbnail from an image's EXIF data?

I am working on a project that resizes images using PHP. This project utilizes PEL to copy EXIF data from the source image to the resized image. However, when resizing images to be really small, the embedded EXIF data contains a thumbnail that is…
Joe Lencioni
  • 10,231
  • 18
  • 55
  • 66
1
vote
1 answer

iPhone image orientation- Rotating images automatically with PHP, PEL, Image_moo

I'm trying to rotate uploaded images before saving, based on the EXIF ORIENTATION tag. I've checked each portion of the code separately and everything seems to work on it's own. $new is the correct path and filename. Image_moo has been…
Mark
  • 467
  • 1
  • 6
  • 21
1
vote
1 answer

PHP extract proper array from within text string

I have a text string that looks like this $string = "abcdefgh Value : Array ( [0] => Array ( [0] => 30 [1] => 1 ) [1] => Array ( [0] => 25 [1] => 1 ) [2] => Array ( [0] => 44 [1] => 332 ) ) Text : ijklmn"; I want to pull out the array text as a…
user2029890
  • 2,493
  • 6
  • 34
  • 65
1
vote
0 answers

How can I add the DateTimeOriginal property to a jpg using PEL (php exif library)

I have been working on storing metadata in images with varying success. I have been able to add most of the fields I need but have hit some inexplicable difficulties. This code works for the first 5 adds but the DateTimeOriginal is not being added.…
chrisgotter
  • 383
  • 1
  • 3
  • 13
1
vote
2 answers

How do I include PHP Exif Library in php.ini

I'm trying to use PEL to make a web page that will read/edit Exif data. I'm not sure I'm including the PEL files correctly. Here's what I've done: 1. Uploaded all the PEL .php files into a directory called: /home/mydomain/private/PEL 2. edited…
OutThere
  • 467
  • 2
  • 8
  • 19
0
votes
1 answer

PyEnchant : Replace internet friendly words with a english word

I want to identify words like "sooooooooooooooo" and replace them with "so" in Spell Check. How can I achieve this ? What do I write (meaning a Filter, etc.) and Where do I tweak the code for the same ? Thanks !
Gauri Padbidri
  • 371
  • 4
  • 15
0
votes
2 answers

How to copy EXIF information from one file to another using PEL?

I have script that adds a watermark to some pictures in my photographic blog website. The watermarked file is served to the browser and leaves the original untouched. This part is working OK. Recently I've found out that using simply GD for the…
jaclerigo
  • 557
  • 2
  • 6
  • 31