PhotoSlide icon indicating copy to clipboard operation
PhotoSlide copied to clipboard

Error loading tiff

Open maifeeulasad opened this issue 4 years ago • 6 comments

It's just stuck, other files work fine

Screenshot from 2021-02-25 11-47-58

maifeeulasad avatar Feb 25 '21 05:02 maifeeulasad

similar #9

maifeeulasad avatar Feb 25 '21 05:02 maifeeulasad

I have tried with my multipage tiff file and it worked. Please can you provide me again a sample file ? grafik

lanthale avatar Feb 25 '21 16:02 lanthale

here is the dataset : https://www.kaggle.com/c/hubmap-kidney-segmentation/data these files are quite big though

maifeeulasad avatar Feb 25 '21 18:02 maifeeulasad

I have now downloaded the biggest tiff file (4.57 GB) and will start to test what is happening

lanthale avatar Feb 26 '21 14:02 lanthale

I have now found the issue: Javafx is handling image file formats according to the file signature (first hex values in file) and I have not included the signature of the bigtiff file format which is different than standard tiff. Nevertheless I have a bug that I load always the complete file on original size. This leads to big memory consumption and therefore I am working on a permanent fix to load such big files. I must have a look into the documentation from ImageIO how I can limit the loading to a defined size.

lanthale avatar Feb 26 '21 18:02 lanthale

Now the loading of also big image files is supported. But it has actually the drawback the thumbnails are not updated automatically after loading (have to find out why) somehow and I had to resize the image down during loading. That means you have to click on one icon than all icons are shown which are already loaded.

From the speed perspective I am on the same timing a s GIMP is requesting to load such big files.

Please have a look into the new release

lanthale avatar Feb 27 '21 23:02 lanthale