Project

General

Profile

Actions

Defect #40795

open

Can display 32 bit depth image in exported pdf file

Added by Kun Hu 6 months ago. Updated 5 months ago.

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

0%

Estimated time:
Resolution:
Affected version:

Description

When I copy & paste or upload a 32 bit depth image into issue, ref it using !! format, and export to pdf file, the image can not display in the file, just leave a large blank area.
But a 24 bit depth image goes right.

system information as follow:
Environment:
Redmine version 5.0.5.stable
Ruby version 3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]
Rails version 6.1.7.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Circle (includes JavaScript)
SCM:
Git 2.34.1
Filesystem
Redmine plugins:
accept 0.0.3_2
additional_tags 1.0.7
additionals 3.0.8
issue_charts 1.3.0_3
redmine_dashboard 2.14.0
redmine_dmsf 3.1.1
redmine_importer 1.2.2
redmine_indicator 0.2.16
redmine_lightbox 1.0.2
redmine_logs 0.3.0
redmine_searchable_selectbox 0.1.10


Files

Actions #1

Updated by Go MAEDA 5 months ago

I tested with the attached PNG image (image-with-alpha.png) that has an alpha channel, but I could not reproduce the issue. Could you provide the image that is causing the problem in your environment?

$ identify -verbose image-with-alpha.png
Image:
  Filename: image-with-alpha.png
  Permissions: rw-r--r--
  Format: PNG (Portable Network Graphics)
  Mime type: image/png
  Class: DirectClass
  Geometry: 640x426+0+0
  Resolution: 72x72
  Print size: 8.88889x5.91667
  Units: PixelsPerInch
  Colorspace: sRGB
  Type: TrueColorAlpha
  Endianness: Undefined
  Depth: 8-bit
  Channels: 4.0
  Channel depth:
    Red: 8-bit
    Green: 8-bit
    Blue: 8-bit
    Alpha: 8-bit
Actions #2

Updated by Kun Hu 5 months ago

as attached file "clipboard-202405281450-34idz.png",it can be normally displayed on the online form(issue).But when I export to pdf,oops.


Actions #3

Updated by Go MAEDA 5 months ago

Thank you for providing the image. However, I was unable to reproduce the issue. The image was embedded correctly in the exported PDF.

Actions #4

Updated by Kun Hu 5 months ago

It's really thank of you.I'll check my system again if there were somewhat potential problems.

Actions

Also available in: Atom PDF