Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi,

I'm new to Biigle, and I'm trying to set up a project. I'm using the official storage offered on the website. I made a storage request and uploaded my .tif files. Once approved, I created a volume, selected the uploaded images, but I keep running into this error:

image

Is there some setting I'm missing? I had a look at the manual, but as the storage is not created by me, I'm not sure if I can change the CORS policy. This error happens when using Chrome. I get a different error on Safari:

image

Here, I can at least see the image, but the project needs to be accessible to multiple people who don't use Safari. There are no thumbnails displayed in either case.

There is another volume in the project where the tif image was uploaded by a different user, which displays without problems.

Many thanks for your help

You must be logged in to vote

No major browser supports TIFF natively, so BIIGLE has to use a frontend library to decode the files. It seems like our library (utif2) has issues with your new files because they contain JPEG tables. This seems to be a bug in the library rather than a malformed file this time. I'm looking into switching to a different library that has better support for various TIFF formats. I'll keep you updated here.

Replies: 1 comment · 5 replies

Comment options

Hi, there seems to be an error with the TIFF files. They use JPEG compression but also contain an alpha channel (Extra Samples: 1<unassoc-alpha> according to tiffinfo). This is not supported both by our backend library (vips) and the frontend library (utif2) that decodes the files. This is why there are no image thumbnails and you see the error message. I'll improve the error handling so a decoding error is no longer confused with a CORS error in the future. I believe Safari can display TIFFs natively so you can see it there.

The TIFF of the other user uses LZW instead of JPEG compression and is larger than 10,000 px so BIIGLE converts it to tiled JPEGs instead of showing the TIFF directly.

You must be logged in to vote
5 replies
@EmmaPoliakova
Comment options

Thank you for getting back to me so quickly! Removing the alpha channel did fix the thumbnail issue. However, the main error still persists. Is this because Chrome doesn't support TIFF images, rather than a Biigle error?

@mzur
Comment options

mzur Jan 7, 2026
Maintainer

No major browser supports TIFF natively, so BIIGLE has to use a frontend library to decode the files. It seems like our library (utif2) has issues with your new files because they contain JPEG tables. This seems to be a bug in the library rather than a malformed file this time. I'm looking into switching to a different library that has better support for various TIFF formats. I'll keep you updated here.

Answer selected by EmmaPoliakova
@EmmaPoliakova
Comment options

Thank you again for the explanation and your help with solving this problem!

@mzur
Comment options

mzur Jan 7, 2026
Maintainer

I have just pushed an update with a different frontend decoding library that seems to work much better. It can display even the malformed TIFFs (with JPEG+alpha) although the backend library still won't process them.

@EmmaPoliakova
Comment options

This is fantastic! The TIFFs from yesterday are now working without problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.