revert 17c1c2a521
revert register for sessions. photos with different settings, settings configurable
This commit is contained in:
1 parent
5596437995
commit
858a451396
14 files changed
+71
-515
No files matched your search
@@ -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)
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user