Skip to content

Commit

Permalink
Merge pull request #2 from Cytomine-ULiege/update-lib
Browse files Browse the repository at this point in the history
Update Bioformats to v6.4.0
  • Loading branch information
urubens authored Apr 3, 2020
2 parents f67221d + 4dbf2a0 commit 7ec0e65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
sudo: required

dist: trusty

services:
- docker

Expand Down
Binary file modified lib/bioformats_package.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> args = []
args << file.absolutePath
args << "-series"
args << "$serieNumber".toString()
args << "-compression"
args << "LZW"
args << "-bigtiff"
//args << "-bigtiff"
args << "-tilex"
args << "256"
args << "-tiley"
Expand All @@ -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")
}
Expand Down

0 comments on commit 7ec0e65

Please sign in to comment.