diff --git a/.travis.yml b/.travis.yml index d1034f6..c695760 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ sudo: required +dist: trusty + services: - docker diff --git a/lib/bioformats_package.jar b/lib/bioformats_package.jar index 56b1028..b1fb9c1 100644 Binary files a/lib/bioformats_package.jar and b/lib/bioformats_package.jar differ diff --git a/src/main/groovy/be/cytomine/bioformats/worker/Convertor.groovy b/src/main/groovy/be/cytomine/bioformats/worker/Convertor.groovy index c3a317d..cd8e06e 100644 --- a/src/main/groovy/be/cytomine/bioformats/worker/Convertor.groovy +++ b/src/main/groovy/be/cytomine/bioformats/worker/Convertor.groovy @@ -82,14 +82,13 @@ class Convertor extends Worker { def dimensionPattern = (group && imageCount > 1) ? "_Z%z_C%c_T%t" : "" File target = new File(targetDirectory, "${basePath}${dimensionPattern}.tiff") - ArrayList args = [] args << file.absolutePath args << "-series" args << "$serieNumber".toString() args << "-compression" args << "LZW" - args << "-bigtiff" + //args << "-bigtiff" args << "-tilex" args << "256" args << "-tiley" @@ -99,7 +98,6 @@ class Convertor extends Worker { ImageConverter ic = new ImageConverter() def success = ic.testConvert(new ImageWriter(), (String[]) args.toArray()) - if (!success) { throw new FormatException("Error during conversion by BioFormats") }