Skip to content

Commit 19747cb

Browse files
committed
Removed default conversion to tiff for nonstandard files.
1 parent d696d64 commit 19747cb

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

exact/exact/images/models.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,6 @@ def save_file(self, path:Path):
290290
path = hdf_path.with_stem(hdf_path.stem + "_{}".format(key)).with_suffix('.tiff')
291291
vi.tiffsave(str(path), tile=True, compression='lzw', bigtiff=True, pyramid=True, tile_width=256, tile_height=256)
292292
self.filename = path.name
293-
else:
294-
path = Path(path).with_suffix('.tiff')
295-
296-
vi = pyvips.Image.new_from_file(str(old_path))
297-
vi.tiffsave(str(path), tile=True, compression='lzw', bigtiff=True, pyramid=True, tile_width=256, tile_height=256)
298-
self.filename = path.name
299293

300294
osr = getSlideHandler(self.path())
301295
self.width, self.height = osr.level_dimensions[0]

0 commit comments

Comments
 (0)