Skip to content

Use transcoded image when original format not supported #1268

Open
@gnprice

Description

@gnprice

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-contentParsing and rendering Zulip HTML content, notably message contentsa-lightboxThe lightbox / image-viewer screen

    Type

    No type

    Projects

    • Status

      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions