Update ConvertImgPDFController.java

This commit is contained in:
Ludy87 2025-07-19 02:00:45 +02:00
parent 7956733856
commit d3bc5ee97f
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -121,7 +121,10 @@ public class ConvertImgPDFController {
List<String> command = new ArrayList<>();
command.add(pythonVersion);
command.add(pngToWebpScript.toAbsolutePath().toString()); // Python script to handle the conversion
command.add(
pngToWebpScript
.toAbsolutePath()
.toString()); // Python script to handle the conversion
// Create a temporary directory for the output WebP files
tempOutputDir = Files.createTempDirectory("webp_output");