Bug 56178 - monochrome TIFF treated as "unknown graphic format"
Summary: monochrome TIFF treated as "unknown graphic format"
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Libreoffice (show other bugs)
Version: 3.5.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-19 12:35 UTC by stfhell
Modified: 2014-07-02 09:23 UTC (History)
6 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Attached: TIFF image (9.24 KB, image/tiff)
2012-10-19 12:35 UTC, stfhell
Details
a bt at the moment bStatus gets sal_False (5.08 KB, text/plain)
2014-02-01 17:58 UTC, Julien Nabet
Details

Description stfhell 2012-10-19 12:35:00 UTC
Created attachment 68796 [details]
Attached: TIFF image

LibreOffice/Linux is not able to insert the attached TIFF image in a Writer or Impress document. Error message: "Unknown graphic format".

The TIFF is a 1-bit Group-4-compressed TIFF image produced with GIMP. tiffinfo says:

TIFF Directory at offset 0x2f1c (12060)
  Subfile Type: (0 = 0x0)
  Image Width: 3156 Image Length: 1844
  Resolution: 600, 600 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 64
  Planar Configuration: single image plane

Tested with LO 3.5.4.2 and 3.6.2.2 under Ubuntu 12.04 (64 and 32 bit).

Other 1-bit TIFFs work, for example one written by ImageMagick with tiffinfo
TIFF Directory at offset 0x42fa (17146)
  Image Width: 500 Image Length: 375
  Resolution: 72, 72 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 375
  Planar Configuration: single image plane
  Page Number: 0-1
Comment 1 bfoman 2013-05-08 13:29:00 UTC
Confirmed with:
LO 4.0.2.2
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Error message: "Unknown graphic format". File is viewable and can be inserted in Word or Powerpoint 2010.
Comment 2 Bernhard Rohrer 2013-05-08 23:23:03 UTC
confirmed in 4.0.2.2 Linux
Comment 3 Julien Nabet 2014-02-01 17:58:40 UTC
Created attachment 93187 [details]
a bt at the moment bStatus gets sal_False

Bt retrieved on pc Debian x86-64 with master sources updated yesterday
Comment 4 Julien Nabet 2014-02-01 18:01:18 UTC
Caolán: I runned a gdb session and retrieved a backtrace with master sources updated yesterday. Any idea what is wrong here?
The tiff can be read with Doc displayer (Debian testing)
Comment 5 Caolán McNamara 2014-02-07 16:09:23 UTC
There's a gadzillion tiff extensions and features and we don't implement them all (yet). I'd *guess* we haven't implemented CCITT Group 4 compression.
Comment 6 LE GARREC Vincent 2014-07-02 09:09:43 UTC
Is it me or this feature have been implemented in LO 4.2.4.2 ? I tried and LO succeed to load a Group 4 TIF. There's small issue with the rendering but no critical failure.
Comment 7 LE GARREC Vincent 2014-07-02 09:23:30 UTC
Sorry for the noise. The image that I tested worked quite well with Group 4 attribute but the original enclosed image still unreadable.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.