revert register for sessions. photos with different settings, settings configurable
This commit is contained in:
DigitalInfinity committed 2026-06-07 21:30:34 +02:00
1 parent 5596437995
commit 858a451396
14 files changed
+71 -515

No files matched your search

+1 -4
View File
@@ -20,12 +20,9 @@ class ConvertToComic implements ShouldQueue
{
$absolutePath = Storage::disk('public')->path($this->photoJob->image_path);
$gmicOps = $this->photoJob->setting?->gmic_command
?? 'cl_comic 4,1,0,0,1,15,15,1,10,20,6,2,0,0,0,0,0,0,50,50';
$result = Process::timeout(0)->run(
'gmic ' . escapeshellarg($absolutePath) .
' ' . $gmicOps .
' cl_comic 4,1,0,0,1,15,15,1,10,20,6,2,0,0,0,0,0,0,50,50' .
' -o ' . escapeshellarg($absolutePath)
);