Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -134,7 +134,7 @@ mixin PdfGraphicStream on PdfObject<PdfDict> { | @@ -134,7 +134,7 @@ mixin PdfGraphicStream on PdfObject<PdfDict> { | ||
| 134 | resources['/XObject'] = PdfDict.fromObjectMap(xObjects); | 134 | resources['/XObject'] = PdfDict.fromObjectMap(xObjects); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | - if (pdfDocument.hasGraphicStates) { | 137 | + if (pdfDocument.hasGraphicStates && !params.containsKey('/Group')) { |
| 138 | // Declare Transparency Group settings | 138 | // Declare Transparency Group settings |
| 139 | params['/Group'] = PdfDict.values({ | 139 | params['/Group'] = PdfDict.values({ |
| 140 | '/Type': const PdfName('/Group'), | 140 | '/Type': const PdfName('/Group'), |
-
Please register or login to post a comment