mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2024-11-14 03:20:14 +01:00
format
This commit is contained in:
parent
eb526a5d0c
commit
31938b662c
@ -137,8 +137,7 @@ public class FakeScanControllerWIP {
|
|||||||
|
|
||||||
// Normalize the kernel
|
// Normalize the kernel
|
||||||
for (int i = 0; i < data.length; i++) {
|
for (int i = 0; i < data.length; i++) {
|
||||||
if(sum != 0)
|
if (sum != 0) data[i] /= sum;
|
||||||
data[i] /= sum;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Kernel kernel = new Kernel(size, size, data);
|
Kernel kernel = new Kernel(size, size, data);
|
||||||
|
@ -22,7 +22,7 @@ import org.springframework.http.ResponseEntity;
|
|||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
|
||||||
import io.github.pixee.security.Filenames;
|
import io.github.pixee.security.Filenames;
|
||||||
import stirling.software.SPDF.controller.web.AccountWebController;
|
|
||||||
import stirling.software.SPDF.utils.ProcessExecutor.ProcessExecutorResult;
|
import stirling.software.SPDF.utils.ProcessExecutor.ProcessExecutorResult;
|
||||||
|
|
||||||
public class PDFToFile {
|
public class PDFToFile {
|
||||||
|
Loading…
Reference in New Issue
Block a user