]> _ Git - fluidbook_processfarm.git/commitdiff
wip #7684
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 7 Aug 2025 14:44:35 +0000 (16:44 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 7 Aug 2025 14:44:35 +0000 (16:44 +0200)
app/process.php

index 7705c73bfea3449af9040527e152a49d529456af..9f55794a3f92db97701bb5d8b6ca647f4b711410 100644 (file)
@@ -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'], json_decode($_POST['area'], true), json_decode($_POST['options'], true));
+        $res = PDFOperations::extractArea($_POST['pdf'], $_POST['out'], $_POST['page'], $_POST['area'], $_POST['options']);
     } else {
         if (!isset($_POST['pdf'])) {
             if (isset($_POST['toolbox'])) {