mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add fulltext converter
This commit is contained in:
parent
8d3815d7db
commit
1d90291032
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user