Handle TIFF files with multiple pages

This commit is contained in:
Alex Cabal 2025-02-08 11:53:40 -06:00
parent 5e23837d17
commit 0c2dce3f63
4 changed files with 32 additions and 14 deletions

View file

@ -50,7 +50,7 @@ abstract class Feed{
file_put_contents($tempFilename, $xmlString);
exec('se clean ' . escapeshellarg($tempFilename) . ' 2>&1', $output); // Capture the result in case there's an error, otherwise it prints to stdout
$output = file_get_contents($tempFilename);
unlink($tempFilename);
@unlink($tempFilename);
// At the moment, `se clean` strips stylesheet declarations. Restore them here.
if($this->Stylesheet !== null){