From: Vincent Vanwaelscappel Date: Thu, 7 Aug 2025 14:41:47 +0000 (+0200) Subject: wip #7684 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f3a030c0e6d7e122257758b211d7f33ba7cd8a9f;p=fluidbook_processfarm.git wip #7684 @0.5 --- diff --git a/app/process.php b/app/process.php index 424621d..7705c73 100644 --- a/app/process.php +++ b/app/process.php @@ -37,7 +37,7 @@ try { } else if ($_POST['operation'] === 'extractmarkdown') { $res = PDFOperations::extractMarkdown($_POST['pdf'], $_POST['out']); } else if ($_POST['operation'] === 'extractpdfarea') { - $res = PDFOperations::extractArea($_POST['pdf'], $_POST['out'],$_POST['page'], $_POST['area'], $_POST['options']); + $res = PDFOperations::extractArea($_POST['pdf'], $_POST['out'], $_POST['page'], json_decode($_POST['area'], true), json_decode($_POST['options'], true)); } else { if (!isset($_POST['pdf'])) { if (isset($_POST['toolbox'])) {