Commit f25e957
committed
Image transparency for PDF output
Before, drawing an image with transparency would result in black, opaque pixels in the PDF file. This change, figured out together with Jürg Lehni, fixes this. At its core, switching from drawImage(img, int, int, int, int, int, int, int, int, null) to drawImage(img, int, int, null) seems to do the trick - so this might have been a bug in iText all along.
Signed-off-by: Jürg Lehni <juerg@scratchdisk.com>
Signed-off-by: Gottfried Haider <gottfried.haider@gmail.com>1 parent 6e508f4 commit f25e957
1 file changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
408 | | - | |
| 407 | + | |
409 | 408 | | |
410 | 409 | | |
411 | 410 | | |
412 | 411 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
420 | 417 | | |
421 | 418 | | |
422 | | - | |
423 | 419 | | |
424 | 420 | | |
425 | 421 | | |
| |||
0 commit comments