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

Use transcoded image when original format not supported #1268

Open
gnprice opened this issue Jan 9, 2025 · 0 comments
Open

Use transcoded image when original format not supported #1268

gnprice opened this issue Jan 9, 2025 · 0 comments
Labels
a-content Parsing and rendering Zulip HTML content, notably message contents a-lightbox The lightbox / image-viewer screen
Milestone

Comments

@gnprice
Copy link
Member

gnprice commented Jan 9, 2025

If someone uploads a file in the TIFF image format, I believe we'll attempt to show a preview of the image, and if the user taps it we'll attempt to show it in the lightbox. But I don't expect the image will successfully appear.

The Zulip server is gaining a feature that will enable us to show these: it'll transcode such files to more widely-supported formats. This uses the thumbnailing system but the image is much larger than "thumbnail" size. So it would be nice to use that feature.

This is a low priority because I believe TIFF files are not commonly used. (The main motivation for introducing the feature was for HEIC/HEIF files, which are much more common. But HEIF support is provided by the system both on iOS and on Android 11+, and Flutter uses the system's facilities for image formats, so this app already supports HEIF just fine.)

References

@gnprice gnprice added a-content Parsing and rendering Zulip HTML content, notably message contents a-lightbox The lightbox / image-viewer screen labels Jan 9, 2025
@gnprice gnprice added this to the M7: Future milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-content Parsing and rendering Zulip HTML content, notably message contents a-lightbox The lightbox / image-viewer screen
Projects
Status: No status
Development

No branches or pull requests

1 participant