Community
Participate
Working Groups
Build ID: M20060921-0945 Steps To Reproduce: 1.Image png24Image = // load any PNG24 image using ImageLoader PrintDialog prtDlg = new PrintDialog(window.getShell()); PrinterData printData = prtDlg.open(); if (printData != null) { Printer printer = new Printer(printData); printer.startJob("PNG24 drawImage test"); printer.startPage(); GC gc = new GC(printer); gc.drawImage(png24Image, 0, 0); gc.dispose(); printer.endPage(); printer.endJob(); } More information: Some garbage is painted when Device is printer and source image has format png24. This is only applies when Device is Printer and Image is PNG24 (works perfectly for PNG32, and when Device is Display any image paints correctly).
Created attachment 59335 [details] PNG 24 image png file size is 5,644 bytes (If opened and saved in paint would be converted to png32 and then would paint correctly).
Just curious - does the image print ok when it has alpha data, as mentioned in bug 174027 ?
Hi again. What version of cairo are you using? rpm -q cairo
This behavior was observed on Windows platform (Microsoft Windows XP [Version 5.1.2600])
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.