Draft: Internal PDF import - transparency not handled properly
Bug with importing images using PDF internal import when Mask attribute is set in pdf file. Areas that should be fully opaque were made transparent. rendering image invisible.
- libpng treats alpha = 0xff as transparent when png_set_invert_alpha has been called, otherwise 0xff is opaque. Removed extraneous call to png_set_invert_alpha.
- Removed extra multiplication 255 for color comparisons in the Mask attributes of the PDF file.
Sample test file:bug.pdf
Bug Reports
Edited by Nathan Lee