Conversation
Decodes the largest displayable TIFF page with utif2 and downsamples it; picks embedded-JPEG or TIFF decoding per extension; expands the RAW extension list and exports the extension groups. Preview is not enabled for these formats yet.
7 tasks
Deploying drive-web with
|
| Latest commit: |
a96d82d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2596b8c7.drive-web.pages.dev |
| Branch Preview URL: | https://feature-image-preview-tiff-d.drive-web.pages.dev |
|
xabg2
reviewed
Sep 17, 2026
Comment on lines
+215
to
+218
| /** | ||
| * Image formats browsers cannot render natively. The file viewer converts them | ||
| * to a browser-friendly image (JPEG/PNG) before showing the preview. | ||
| */ |
Contributor
There was a problem hiding this comment.
Remove this comment. The name of the variable is enough
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Stacked on #2152
Summary
tiffDecoder.ts: decodes the largest displayable TIFF page withutif2and downsamples it to a preview-sized image.decodeImagePreview.ts: picks embedded-JPEG extraction or TIFF decoding per file extension.file-types.tsand exportsheicImageExtensions,tiffImageExtensions,rawImageExtensionsandconvertibleImageExtensions.Checklist