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
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.
confirmed in 4.0.2.2 Linux
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
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)
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.
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.
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.