Skip to content

Commit

Permalink
Use zlib compression in ome-tiff output (labsyspharm#176)
Browse files Browse the repository at this point in the history
We should also enable the predictor but there is a bug in tifffile (labsyspharm#185)
  • Loading branch information
jmuhlich committed Mar 15, 2023
1 parent 60145bf commit f5184c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ashlar/reg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,6 +1236,7 @@ def run(self):
resolution=(resolution_cm, resolution_cm, "centimeter"),
# FIXME Propagate this from input files (especially RGB).
photometric="minisblack",
compression="adobe_deflate",
)
if self.verbose:
print("Generating pyramid")
Expand All @@ -1250,6 +1251,7 @@ def run(self):
subfiletype=1,
dtype=dtype,
tile=tile_shape,
compression="adobe_deflate",
)
if self.verbose:
print()
Expand Down

0 comments on commit f5184c6

Please sign in to comment.