add fulltext converter

This commit is contained in:
Uwe Steinmann 2021-10-08 12:14:05 +02:00
parent 8d3815d7db
commit 1d90291032

View File

@ -15,6 +15,12 @@ if(!empty($settings->_converters['pdf'])) {
}
}
if(!empty($settings->_converters['fulltext'])) {
foreach($settings->_converters['fulltext'] as $mimetype=>$cmd) {
$conversionmgr->addService(new SeedDMS_ConversionServiceExec($mimetype, 'text/plain', $cmd))->setLogger($logger);
}
}
$conversionmgr->addService(new SeedDMS_ConversionServicePdfToImage('application/pdf', 'image/png'))->setLogger($logger);
$conversionmgr->addService(new SeedDMS_ConversionServiceImageToImage('image/jpeg', 'image/png'))->setLogger($logger);