Bug 78105 - FILEOPEN: WPD - Image loads with incorrect color palette/scheme
Summary: FILEOPEN: WPD - Image loads with incorrect color palette/scheme
Alias: None
Product: Document Liberation Project
Classification: Unclassified
Component: General (show other bugs)
(earliest affected)
Hardware: Other All
: medium normal
Assignee: David Tardon
Whiteboard: interoperability libwpg
Depends on:
Reported: 2014-04-30 08:18 UTC by Yousuf Philips (jay) (retired)
Modified: 2019-01-01 18:11 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

created .wpd file (1.75 MB, application/vnd.wordperferct)
2014-04-30 08:18 UTC, Yousuf Philips (jay) (retired)
pdf output from wordperfect (77.50 KB, application/pdf)
2014-04-30 08:20 UTC, Yousuf Philips (jay) (retired)
extracted WPG image (1.75 MB, image/x-wpg)
2018-12-26 12:45 UTC, David Tardon

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-04-30 08:18:57 UTC
Created attachment 98221 [details]
created .wpd file

Well i created the attached file in WordPerfect x7 to test its compatibility in LibO and noticed that the coloring of the image is incorrect as well as its positioning. It was tested in 3.6 - 4.3.
Comment 1 Yousuf Philips (jay) (retired) 2014-04-30 08:20:43 UTC
Created attachment 98222 [details]
pdf output from wordperfect
Comment 2 Dennis Roczek 2014-04-30 12:25:37 UTC
@Jay well could you provide a screenshot/PDF within WordPerfect x7?
Comment 3 Yousuf Philips (jay) (retired) 2014-04-30 12:28:23 UTC
the pdf shows how it looks, but if you want a screenshot from wordperfect i can do that.
Comment 4 Dennis Roczek 2014-04-30 12:49:54 UTC
Ups. Sorry. Not enough coffee today.

I haven't recognized that was actually the output from WP... (I didn't bothered to open LO).

Comment 5 Joel Madero 2014-05-25 03:21:43 UTC
In the future let's make sure to include operating system and versions of libreoffice in confirming bugs :)
Comment 6 David Tardon 2018-12-26 12:45:28 UTC
Created attachment 147836 [details]
extracted WPG image
Comment 7 David Tardon 2018-12-26 12:52:44 UTC
The red and blue components of each pixel are swapped. I wonder if the code for handling WPG2 images with color_format 8 (and 9) has ever been tested...

ImageMagick displays the image correctly.