Menu

#1061 PNG half transparent - example42

v1.0_(example)
closed
nobody
PNG (2) alpha (3)
1
2015-08-02
2015-07-04
Klaudiusz
No

Hi,
First of all, great work, big thanks.

I have problem with PNG files. They are not displayed correctly.
I found out that in your example42 there is the same problem.

There is 3 files:
-1 image with alpha
-2,3 image and alpha channel

Image with alpha should looks like merged 1,2 but it is half transparent.

http://www.tcpdf.org/examples/example_042.pdf

Discussion

  • Klaudiusz

    Klaudiusz - 2015-07-04

    like merged 2,3 ofcorz

     
  • Justin Funk

    Justin Funk - 2015-07-09

    I am having the same issue. A PNG shows up as half-transparent.

    I've used GD, ImageMagick (6.9.0-10), and used no-alpha channels (just a flat file with a mask). All yield the same result.

     
  • Jeroen Blox

    Jeroen Blox - 2015-07-24

    Same issue here, after updating TCPDF transparent PNG files became 'half-transparent', like opacity has dropped.

    After some debugging I found out a '$info = false;' on line 7029 of tcpdf.php, which appeared between version 6.2.6 and 6.2.9. Removing this line seems to fix the issue.

     
    • Klaudiusz

      Klaudiusz - 2015-07-25

      Big thanks!
      I was trying to debug, but don't thought about comparing to old version.

       
  • Mathieu Masseboeuf

    See bug #1070 for more details on the issue (indeed, there is a regression).

     
  • Nicola Asuni

    Nicola Asuni - 2015-08-02

    This should be fixed in TCPDF 6.2.11

     
  • Nicola Asuni

    Nicola Asuni - 2015-08-02
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB