Merge branch 'DM-326' into 'master'
DM-326: extend removeInvisibleElements Closes DM-326 See merge request redactmanager/ocr-service!10
This commit is contained in:
commit
82db83936d
@ -41,7 +41,7 @@
|
||||
<dependency>
|
||||
<groupId>com.iqser.red.commons</groupId>
|
||||
<artifactId>pdftron-logic-commons</artifactId>
|
||||
<version>2.5.0</version>
|
||||
<version>2.7.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.iqser.red.commons</groupId>
|
||||
|
||||
@ -23,7 +23,7 @@ class WatermarkRemovalServiceTest extends AbstractTest {
|
||||
@SneakyThrows
|
||||
public void removeWatermarksTest() {
|
||||
|
||||
String filename = "files/403-17_Fantom_ToxicidadeInalatoriaAguda.pdf";
|
||||
String filename = "files/Watermark.pdf";
|
||||
try (var in = new ClassPathResource(filename).getInputStream(); var out = new FileOutputStream(OsUtils.createTmpFileName(filename, "WATERMARK_REMOVED"))) {
|
||||
watermarkRemovalService.removeWatermarks(in, out);
|
||||
}
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user