Bug 106561 - Transparent image saved in ms word format is not transparent when opened in MS Word.
Summary: Transparent image saved in ms word format is not transparent when opened in M...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
Depends on:
Blocks: DOC
  Show dependency treegraph
 
Reported: 2017-03-15 22:08 UTC by Jeff Martin
Modified: 2021-04-09 13:49 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Blank form with no signature. (20.50 KB, application/msword)
2017-03-16 16:08 UTC, Jeff Martin
Details
With signature added by cut and paste. (24.50 KB, application/msword)
2017-03-16 16:12 UTC, Jeff Martin
Details
GIMP file (8.41 KB, image/x-xcf)
2017-03-16 16:16 UTC, Jeff Martin
Details
test with signature.odt: transparent image round trips as ODT and DOCX, but not DOC (15.85 KB, application/vnd.oasis.opendocument.text)
2020-04-11 18:18 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Martin 2017-03-15 22:08:30 UTC
Description:
I selected and image with an alpha channel in GIMP (my signature).
I pasted the image into an MS Word document that I had open in Writer.
I changed the image to wrap through and the string of periods could be seen through the image.
I saved the file and clicked the box to retain MS Word format.
The file was opened in MS Office on a Windows computer and the image was no longer transparent. I had to change the transparency level in MS Office 2010 by write clicking on the image.

Steps to Reproduce:
1.Create a grey scale image with a transparent background in GIMP. (e.g. a signature)
2.Select and copy the image to the clipboard.
3.Load a MS Word document into Writer.
4. Paste the image over some text. (e.g. a signature line)
5. Change the image to wrap through.
6. Save the image in MS Word format.
7. Open the file in MS Word.

Actual Results:  
Do not have time to try.

Expected Results:
The image should be transparent.


Reproducible: Didn't try

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/56.0.2924.76 Chrome/56.0.2924.76 Safari/537.36
Comment 1 Xisco Faulí 2017-03-15 22:39:45 UTC
Hello Jeff,

Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 Jeff Martin 2017-03-16 16:07:40 UTC
I went through all the steps with test files and it happened again.
I am attaching files.
Comment 3 Jeff Martin 2017-03-16 16:08:33 UTC
Created attachment 131938 [details]
Blank form with no signature.
Comment 4 Jeff Martin 2017-03-16 16:12:04 UTC
Created attachment 131939 [details]
With signature added by cut and paste.

With signature added by cut and paste.
Comment 5 Jeff Martin 2017-03-16 16:16:35 UTC
Created attachment 131940 [details]
GIMP file

GIMP file
Comment 6 Jeff Martin 2017-03-16 16:17:49 UTC
Files uploaded.
Comment 7 Xisco Faulí 2017-03-16 17:05:13 UTC
Confirmed in

Version: 5.4.0.0.alpha0+
Build ID: d3b5bd4a07a619db6bee1c39c32280ac3c620532
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

and

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

with MSO 2010
Comment 8 QA Administrators 2018-07-26 02:41:51 UTC Comment hidden (obsolete, spam)
Comment 9 Justin L 2020-04-11 18:18:24 UTC
Created attachment 159495 [details]
test with signature.odt: transparent image round trips as ODT and DOCX, but not DOC

confirmed still a solid white background in LO 7.0 master for .doc format only.
Comment 10 Justin L 2021-04-09 13:49:21 UTC
repro 7.2+