Project

General

Profile

Actions

Feature #14599

closed

Support 16-bit depth PNG images in PDF export

Added by Pavel Samokha over 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Tried on latest version, RMagick installed, image attached to WIKI page, added as and shown in page, but no image when exported to pdf.

According to #3261 it must be fixed for issues export to pdf, but not working in WIKI for me


Related issues

Related to Redmine - Feature #12447: Support for PNG with alpha channel in pdf exportClosed

Actions
Actions #1

Updated by Toshi MARUYAMA over 11 years ago

  • Description updated (diff)
Actions #2

Updated by Stanislav German-Evtushenko over 11 years ago

Almost the same to me. I can see some images in pdf but not all of them:

$ file *
img1.png: PNG image, 26 x 25, 8-bit/color RGB, non-interlaced
img2.png: PNG image, 24 x 24, 8-bit/color RGBA, non-interlaced
img3.png: PNG image, 24 x 24, 8-bit/color RGBA, non-interlaced
img4.png: PNG image, 833 x 945, 8-bit/color RGBA, non-interlaced
img5.png: PNG image, 47 x 47, 8-bit colormap, non-interlaced
img6.png: PNG image, 24 x 24, 8-bit/color RGBA, non-interlaced

Only img1.png and img5.png are shown in pdf but others are not.

Actions #3

Updated by Stanislav German-Evtushenko over 11 years ago

Environment:
  Redmine version                2.3.2.stable.12078
  Ruby version                   1.9.3-p385 (2013-02-06) [x86_64-linux]
  Rails version                  3.2.13
  Environment                    production
  Database adapter               SQLite
Redmine plugins:
  redmine_bbb                    0.1.2
  redmine_people                 0.1.6
Actions #4

Updated by Mischa The Evil over 11 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Stanislav German-Evtushenko wrote:

Almost the same to me. I can see some images in pdf but not all of them:
[...]
Only img1.png and img5.png are shown in pdf but others are not.

Thanks for the info. It shows that this issue duplicates #12447.

Actions #5

Updated by Mischa The Evil over 11 years ago

  • Is duplicate of Feature #12447: Support for PNG with alpha channel in pdf export added
Actions #6

Updated by Mischa The Evil over 11 years ago

  • Status changed from Closed to Reopened

Sorry. I did not noticed the initial author of this issue.

Pavel, can you please check if the images you are using are indeed PNG's with alpha channel and report your results here?

Actions #7

Updated by Mischa The Evil over 11 years ago

  • Status changed from Reopened to Needs feedback
Actions #8

Updated by Pavel Samokha over 11 years ago

Tried pngs without alpha channel (got from here http://www.fnordware.com/superpng/samples.html) - the same result - no images in PDF export.

Actions #9

Updated by Jun NAITOH over 11 years ago

I tried note-8 URL Images.
The following error occurred.

pdf: Image: error: TCPDF error: Alpha channel not supported: /opt/Redmine/redmine.d/redmine-2.2.3/files/130805004924_pngtest8rgba.png
pdf: Image: error: TCPDF error: 16-bit depth not supported: /opt/Redmine/redmine.d/redmine-2.2.3/files/130805004924_pngtest16rgba.png
pdf: Image: error: TCPDF error: 16-bit depth not supported: /opt/Redmine/redmine.d/redmine-2.2.3/files/130805004924_pnggradHDrgba.png
pdf: Image: error: TCPDF error: 16-bit depth not supported: /opt/Redmine/redmine.d/redmine-2.2.3/files/130805004924_pnggrad16rgb.png
pdf: Image: error: TCPDF error: 16-bit depth not supported: /opt/Redmine/redmine.d/redmine-2.2.3/files/130805005029_pnggrad16rgba.png

Sorry, RFPDF (TCPDF) library is not supporting 16-bit depth PNG image.

Actions #10

Updated by Toshi MARUYAMA over 11 years ago

  • Subject changed from Wiki export to PDF does not contains images to Wiki export to PDF does not contains 16-bit depth PNG images
  • Status changed from Needs feedback to New
  • Resolution deleted (Duplicate)
Actions #11

Updated by Toshi MARUYAMA over 11 years ago

  • Subject changed from Wiki export to PDF does not contains 16-bit depth PNG images to PDF does not contains 16-bit depth PNG images
Actions #12

Updated by Mischa The Evil over 11 years ago

  • Is duplicate of deleted (Feature #12447: Support for PNG with alpha channel in pdf export)
Actions #13

Updated by Etienne Massip over 11 years ago

  • Related to Feature #12447: Support for PNG with alpha channel in pdf export added
Actions #14

Updated by Etienne Massip over 11 years ago

  • Tracker changed from Defect to Feature
  • Subject changed from PDF does not contains 16-bit depth PNG images to Support 16-bit depth PNG images in PDF export
Actions #15

Updated by Toshi MARUYAMA about 10 years ago

  • Status changed from New to Closed
  • Target version set to 2.6.0
  • Resolution set to Fixed

Fixed by #17570.

Actions

Also available in: Atom PDF