Bug 73523 - bitmaps embedded in a visio file are imported as black boxes
Summary: bitmaps embedded in a visio file are imported as black boxes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.1.3.2 release
Hardware: x86 (IA32) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:visio
: 77914 87149 (view as bug list)
Depends on:
Blocks: Visio
  Show dependency treegraph
 
Reported: 2014-01-12 19:27 UTC by Maxim Ganetsky
Modified: 2019-08-27 10:51 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Example with embedded images in Visio 2002 format (313.32 KB, application/zip)
2014-01-12 19:27 UTC, Maxim Ganetsky
Details
The extracted images that are rendered correctly by a host of viewers, but not LO (95.27 KB, application/zip)
2014-01-14 08:17 UTC, Fridrich Strba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Ganetsky 2014-01-12 19:27:00 UTC
Created attachment 91906 [details]
Example with embedded images in Visio 2002 format

LibreOffice 4.1.3 both on Windows and Linux fails to render correctly attached Visio file for me. This file contains five embedded screenshots, but they are loaded as black rectangles.
Comment 1 tommy27 2014-01-12 21:30:01 UTC
I see 4 black rectangles too with LibO 4.1.4.2 under Win7 64bit
Comment 2 Valek Filippov 2014-01-14 01:09:45 UTC
Fridrich,

5 FrgnData chunks seem to contain DIB right after chunk headers.
(for example $dib@13 on 0:2:11:1:1:54:1).
Could it be a problem because of the 32 bpp image?
Comment 3 Fridrich Strba 2014-01-14 08:17:14 UTC
Created attachment 92019 [details]
The extracted images that are rendered correctly by a host of viewers, but not LO
Comment 4 Valek Filippov 2014-01-14 13:14:31 UTC
Another suspect in embedded DIBs is "compression type == 3" ("Bit field or Huffman 1D compression for BITMAPCOREHEADER2")
Comment 5 David Tardon 2015-02-01 12:20:14 UTC
*** Bug 77914 has been marked as a duplicate of this bug. ***
Comment 6 David Tardon 2015-02-01 12:25:25 UTC
*** Bug 87149 has been marked as a duplicate of this bug. ***
Comment 7 QA Administrators 2016-02-21 08:34:25 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2017-05-22 13:21:48 UTC Comment hidden (obsolete)
Comment 9 Telesto 2017-05-27 18:14:35 UTC
Still black
Version: 5.5.0.0.alpha0+
Build ID: d57e6cd9dcc96112994ca2b14ac45896e86b26e5
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-05-18_22:43:07
Locale: nl-NL (nl_NL); Calc: CL
Comment 10 QA Administrators 2018-05-28 02:31:50 UTC Comment hidden (obsolete)
Comment 11 Magnus Westin 2019-02-05 14:40:31 UTC
Still Black

Version: 6.1.4.2
Build ID: 6.1.4.2-1.fc29
CPU threads: 4; OS: Linux 4.20; UI render: default; VCL: gtk3; 
Locale: sv-SE (en_US.UTF-8); Calc: group threaded