Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading tiff #16

Open
maifeeulasad opened this issue Feb 25, 2021 · 6 comments
Open

Error loading tiff #16

maifeeulasad opened this issue Feb 25, 2021 · 6 comments

Comments

@maifeeulasad
Copy link
Collaborator

It's just stuck, other files work fine

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

@maifeeulasad
Copy link
Collaborator Author

similar #9

@lanthale
Copy link
Owner

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

@maifeeulasad
Copy link
Collaborator Author

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

@lanthale
Copy link
Owner

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

@lanthale
Copy link
Owner

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
Copy link
Owner

lanthale commented Feb 27, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants