From 460a1dcac033e46134f71a3555e164af696c3935 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 25 Apr 2024 01:01:37 +0000 Subject: [PATCH] fix tests --- Controller/ApiPurchaseController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Controller/ApiPurchaseController.php b/Controller/ApiPurchaseController.php index 1343b43..f78684e 100755 --- a/Controller/ApiPurchaseController.php +++ b/Controller/ApiPurchaseController.php @@ -128,6 +128,7 @@ final class ApiPurchaseController extends Controller ); } + /* foreach ($files as $file) { // 1. convert to image pdftoppm // 2. search for color pages by using averageColorRandom (tolerance < 175 = color match) @@ -140,6 +141,7 @@ final class ApiPurchaseController extends Controller // alternatively, pdfly cat in.pdf 2:4 -o out.pdf // 4. add to documents array } + */ $documents = $files;