diff --git a/README.md b/README.md index 41197b3c..bb7674b5 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ Stirling PDF currently supports 26! | Japanese (日本語) (ja_JP) | ![92%](https://geps.dev/progress/92) | | Dutch (Nederlands) (nl_NL) | ![92%](https://geps.dev/progress/92) | | Greek (Ελληνικά) (el_GR) | ![77%](https://geps.dev/progress/77) | -| Turkish (Türkçe) (tr_TR) | ![82%](https://geps.dev/progress/82) | +| Turkish (Türkçe) (tr_TR) | ![99%](https://geps.dev/progress/99) | | Indonesia (Bahasa Indonesia) (id_ID) | ![87%](https://geps.dev/progress/87) | | Hindi (हिंदी) (hi_IN) | ![88%](https://geps.dev/progress/88) | | Hungarian (Magyar) (hu_HU) | ![87%](https://geps.dev/progress/87) | diff --git a/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImageScansController.java b/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImageScansController.java index dc17dc9c..9ed00dd8 100644 --- a/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImageScansController.java +++ b/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImageScansController.java @@ -9,7 +9,6 @@ import java.nio.file.StandardCopyOption; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import java.util.stream.Collectors; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; @@ -143,8 +142,7 @@ public class ExtractImageScansController { .runCommandWithOutputHandling(command); // Read the output photos in temp directory - List tempOutputFiles = - Files.list(tempDir).sorted().toList(); + List tempOutputFiles = Files.list(tempDir).sorted().toList(); for (Path tempOutputFile : tempOutputFiles) { byte[] imageBytes = Files.readAllBytes(tempOutputFile); processedImageBytes.add(imageBytes);