Transparent pixels in tiff images (both inserted from file or imported as part of some other format like docx) are shown as black one. So if we have image with some black content on transparent background we got completely black rectangle instead.
Can you attach a demo .tiff example here which reproduces this ?
Created attachment 39184 [details]
test case (odt file, it should be white, but shows ugly black drawing instead)
Well, it isn't necessarily white that should be shown through the transparent pixels, but the page background colour, as happens for PNG images with alpha. But yeah, it seems as if the handling of TIFF with transparency is different from the handling of PNG with transparency. Maybe transparency in TIFF images isn't handled at all? So a workaround is to use PNG instead.
(In reply to comment #3)
> Maybe transparency in TIFF images
> isn't handled at all? So a workaround is to use PNG instead.
The file where bug was found is project for article, made in MS Word with tiff images as was required by publisher, so exchanging it for png is not always a good idea. If was very confusing for original author to get the completelly black image instead, trying to open file in LO and OOo.
Sure, sure, I am not saying it isn't a bug. I just pointed out a workaround until the bug is fixed.
I'll take this one
Created attachment 39224 [details]
patch to make this example work
cmc->thb: can you have a once-over look at this impl. Does this seem reasonable to you, it definitely works for the submitted example anyway.
Committed and pushed. Might be some more scope to include some other tiff variants e.g. different depths or grayscale which also support an alpha channel.
Verified in the 10_10_28_Cedric.rpm build - closing - Sophie
This is a Writer issue, therefore changed the 'Component' field appropriately.