[PATCH] printing of transparent images

David Faure david at mandrakesoft.com
Wed Jul 10 18:54:17 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 10 July 2002 19:03, Stephan Kulow wrote:
> Hi!
> 
> Printing web sites with black&white images, where white is transparent results
> in black on black print outs. As an example check
> http://verein.lst.de/~coolo/printout.html
> 
> My suggested patch follows. It hard codes the color to print for transparent
> pixels to white. David is working on an alternative solution, but that would
> require bigger changes in QPSPrinter as it would need to generate PS level 3
> to get transparancy in the generated PS. The patch works for me, but I'm
> open for suggestions :)

Lars tells me that Qt 3.1's QPSPrinter uses the PS level 3 feature,
when available, to paint pixmap with masks properly.

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-beta2 is out! http://dot.kde.org/1025176121/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9LHTJ72KcVAmwbhARAmYTAKCgTSlu3kOOUNR356Fm/am/Ey21DQCggsej
Uss9riSUbHeK1qteAQG5qac=
=4X4i
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list