Skip to content

v1.1.0

Compare
Choose a tag to compare
@k00ni k00ni released this 16 Aug 07:07
· 86 commits to master since this release
43e436f

Maintenance and small performance boost

PDFs with images can be parsed with less resource consumption (like memory) from now on. @Connum added a feature with #441 to ignore image data. It must be enabled manually though. You can do it easily:

use Smalot\PdfParser\Config;
use Smalot\PdfParser\Parser;

$config = new Config();
$config->setRetainImageContent(false);
$parser = new Parser([], $config);
// $parser->parseFile (...)

Besides that, we fixed a problem with Scrutinizer (part of our test infrastructure).