LoginSignup
7
7

More than 5 years have passed since last update.

RedmineのPDF出力でalpha channel 有りのpngを含むとエラーが出る(解決)

Posted at

問題の内容

RedmineのWikiでPDFを出力しようとしたら内部エラー発生。
原因を調べるためlogファイルを見てみると下記のようなエラーが出ていました。

pdf: Image: error: TCPDF error: Alpha channel not supported:

解決策

ぐぐってみると既に公式のRedmineで課題として報告されていました。

Feature #12447 Support for PNG with alpha channel in pdf export

チケットのコメントにもあるようにこの問題に対応するためのプラグインを作ってくれた方がいました。
https://github.com/t-yuki/redmine_pdf_export_backports

プラグインのインストール

githubから取得→再起動するだけでOKでした。

cd /opt/redmine-2.5.1-1/apps/redmine/htdocs
git clone https://github.com/t-yuki/redmine_pdf_export_backports.git ./plugins/redmine_pdf_export_backports

touch ./tmp/restart.txt

※Linux版bitnami redmine 2.5.1-1にて

プラグイン作者のtoyotaさんありがとうございます。

7
7
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7