I cannot insert a tiff file into a draw document. Error message is that the image format is unknown. This is true both when dragging the file into the program window, or using the menu insert → image → from file. The open dialog appearing in the second variant explicitly lists tiff files in the file type select drop-down element, so tiff should be supported. The tiff file was generated using ImageMagick and opens fine in common programs such as gimp or irfan view, so the problem seems to be in draw.
It took me hours to find out that the reason was that the tiff file had an alpha channel. Removing the alpha channel from the image makes it possible to import it.
Solution should be to change the error message appearing to something meaningful, like: “Tiff images with an alpha channel are not supported.” − or make it possible to open them, perhaps by internally converting them to PNG. PNG files with alpha channels seem to work.
*** Bug 93138 has been marked as a duplicate of this bug. ***
> It took me hours to find out that the reason was that the tiff file had an
> alpha channel. Removing the alpha channel from the image makes it possible
> to import it.
Great thanks for reporting, and digging out what looks to be root cause.
> Solution should be to change the error message appearing to something
> meaningful, like: “Tiff images with an alpha channel are not supported.” −
> or make it possible to open them, perhaps by internally converting them to
> PNG. PNG files with alpha channels seem to work.
Well, maybe. But it should be obvious that no Dev will concern themselves with an issue on EOL build. And the 126.96.36.199 release is EOL and nothing will be done with that code base.
If you'd like to move this forward, and your suggested enhancement of a warning message is reasonable, please take a moment and load the current Fresh release 5.0.0, or even a current development master. And retest with your set of tiff's--Alpha channel or not.
Reporting against one of these builds is more likely to elicit some interest from a developer.
Work was done at the 4.2 release on Alpha channel support in PNG, I don't believe similar work has ever been done for support of Alpha channel on TIFF rasters.
In fact handling of TIFF actually took a hit between 4.1 and 4.2 releases with adoption of GraphicPrimative2D (http://cgit.freedesktop.org/libreoffice/core/commit/?id=2e5167528f7566dd9b000e50fc1610b7bf99132a)
Thank you for notifying me of release version 5. During my tests yesterday I executed the update but it only increased my version to 188.8.131.52. I checked again just now and the update notification told me I am up to date. Obviously I was not. Never mind.
Tiff files with alpha channels do work in version 184.108.40.206. Thank you to all the developers and maintainers.