waarneembemiddeling/php-pdfimages

This package is abandoned and no longer maintained. No replacement package was suggested.
Package info

github.com/waarneembemiddeling/php-pdfimages

pkg:composer/waarneembemiddeling/php-pdfimages

Statistics

Installs: 10 368

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 0

dev-master 2015-07-09 09:44 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 1594a11a7aff69418a07802d81f535cf1b434428

  • Kristian Zondervan <k.zondervan.woop@waarneembemiddeling.nl>
  • Waarneembemiddeling.nl developers <development.woop@waarneembemiddeling.nl>

This package is not auto-updated.

Last update: 2025-04-26 19:02:56 UTC


README

👁 Build Status
👁 Scrutinizer Quality Score

PHP wrapper for the pdfimages command available on most linux distro's.

Usage

use Wb\PdfImages\PdfImages;
$pdfImages = PdfImages::create();
// $result is an instance of \FilesystemIterator
$result = $pdfImages->extractImages('path/to/pdf');
$result2 = $pdfImages->extractImages('path/to/pdf', 'path/to/other/destination/dir/then/tmp');

PNG output

PNG images will not be converted to jpeg but will be extracted as one or more ppm files.

Testing

cp phpunit.xml.dist phpunit.xml

Change the phpunit.xml env binary directive if necessary.

composer install
php vendor/bin/phpunit