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

index 424621d90accddbc7df8522dc4d14738a91eb8f9..7705c73bfea3449af9040527e152a49d529456af 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'], $_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'])) {