Bug 2717 - tiff2pdf doesn't deal with alpha layer properly
: tiff2pdf doesn't deal with alpha layer properly
Status: RESOLVED LATER
: libtiff
default
: unspecified
: PC Linux
: P2 normal
: ---
Assigned To:
:
:
: migrated_to_gitlab
:
:
  Show dependency treegraph
 
Reported: 2017-07-14 09:06 by
Modified: 2019-10-01 14:20 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2017-07-14 09:06:49
convert -depth 1 -gravity center -pointsize 78 -size 500x500 caption:'Lorem
ipsum etc etc' -background white alpha.tif
tiff2pdf -o alpha.pdf alpha.tif

The image in the resulting PDF is corrupt.
------- Comment #1 From 2019-02-11 18:13:37 -------
I think it is 1 bit image with alpha that tiff2pdf has issues with

tiffinfo  poc/bug2718_alpha.tif 
TIFF Directory at offset 0xf42c (62508)
  Image Width: 500 Image Length: 500
  Bits/Sample: 1
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  Extra Samples: 1<unassoc-alpha>
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 2
  Rows/Strip: 500
  Planar Configuration: single image plane
  Page Number: 0-1
  White Point: 0.3127-0.329
  PrimaryChromaticities: 0.640000,0.330000,0.300000,0.600000,0.150000,0.060000
------- Comment #2 From 2019-10-01 14:20:45 -------
Bugzilla is no longer used for tracking libtiff issues. Remaining open tickets,
such as this one, have been migrated to the libtiff GitLab instance at
https://gitlab.com/libtiff/libtiff/issues .

The migrated tickets have their summary prefixed with [BZ#XXXX] where XXXX is
the initial Bugzilla issue number.