-
Notifications
You must be signed in to change notification settings - Fork 47
TIFF images not displayed in browser #146
Copy link
Copy link
Open
Description
Description
TIFF images embedded in DOCX files are correctly extracted and their MIME type (image/tiff) is recognized, but browsers cannot natively render TIFF format. These images appear as broken image icons.
Current Behavior
TIFF images show as broken/missing image placeholders in the editor.
Expected Behavior
TIFF images should be converted to a browser-compatible format (PNG or JPEG) at load time and displayed correctly.
Technical Notes
- Recognition:
unzip.tsmaps.tif/.tiff→image/tiff,imageParser.tsgetMimeType()also handles both extensions - Missing: No client-side TIFF-to-PNG/JPEG conversion
- Options: Use a library like
utif.jsortiff.jsfor decoding, then render to canvas and export as PNG data URL - Scope: Only affects display — the original TIFF binary should be preserved for roundtrip fidelity
Steps to Reproduce
- Open a DOCX containing a TIFF format image
- Image area shows broken image icon or blank space
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels