Feature #12447
closed
Support for PNG with alpha channel in pdf export
Added by Fabio Bonfante almost 12 years ago.
Updated about 10 years ago.
Description
The /vendor/plugins/rfpdf/tcpdf.rb, port of FPDF, not work with png with alpha channel. The latest version of www.fpdf.org (1.7.1) is now able to do that, and an update to the ported class, will be really appreciated.
Files
- Tracker changed from Defect to Feature
- Subject changed from PNG with alpha channel not supported in pdf export to Support for PNG with alpha channel in pdf export
- Has duplicate Feature #14599: Support 16-bit depth PNG images in PDF export added
- Has duplicate deleted (Feature #14599: Support 16-bit depth PNG images in PDF export)
- Related to Feature #14599: Support 16-bit depth PNG images in PDF export added
Has the patch provided by Yukinari been validated with newer versions of Redmine? We are on 2.3.4 stable. Thank you for helping to address this 16-bit PNG issue.
Applied the patch in my test environment but saw no change. I loaded the Redmine PDF Export Backports plugin which granted the ability to export as HTML but PDF is still unable to render. Any ideas on how to resolve? Thank you.
Update
I have loaded the plugin provided by Yukinari https://github.com/t-yuki/redmine_pdf_export_backports and was able to resolve the PDF export issue. In order to export PDF's, the short syntax of declaring an image must be used. For example:
"!myimage.png!" without quotes
We were using the long syntax of declaring the entire URL string. Adjusting the syntax allowed images to display properly in PDF exports.
Thank you Yukinari for your help with this.
- Status changed from New to Closed
- Target version set to 2.6.0
- Resolution set to Fixed
Also available in: Atom
PDF