Revert "Fix printing of semitransparent images to PDF"
The patch was incorrect and caused semi-transparent images
have inversed colors instead of fixing it.
This reverts commit 624740cdcd
.
Change-Id: I3f1fa17309fcb53995520843449aae972e0090b8
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
This commit is contained in:
parent
627afca13c
commit
c4bee2c47f
@ -2083,10 +2083,8 @@ int QPdfEnginePrivate::writeImage(const QByteArray &data, int width, int height,
|
||||
}
|
||||
if (maskObject > 0)
|
||||
xprintf("/Mask %d 0 R\n", maskObject);
|
||||
if (softMaskObject > 0) {
|
||||
if (softMaskObject > 0)
|
||||
xprintf("/SMask %d 0 R\n", softMaskObject);
|
||||
xprintf("/Decode [1 0 1 0 1 0]\n");
|
||||
}
|
||||
|
||||
int lenobj = requestObject();
|
||||
xprintf("/Length %d 0 R\n", lenobj);
|
||||
|
Loading…
Reference in New Issue
Block a user