diff --git a/src/UglyToad.PdfPig/Writer/PdfPageBuilder.cs b/src/UglyToad.PdfPig/Writer/PdfPageBuilder.cs index da2de186..a16230e9 100644 --- a/src/UglyToad.PdfPig/Writer/PdfPageBuilder.cs +++ b/src/UglyToad.PdfPig/Writer/PdfPageBuilder.cs @@ -495,7 +495,7 @@ IndirectReferenceToken smaskReference = null; - if (png.HasAlphaChannel) + if (png.HasAlphaChannel && documentBuilder.ArchiveStandard != PdfAStandard.A1B && documentBuilder.ArchiveStandard != PdfAStandard.A1A) { var smaskData = new byte[data.Length / 3]; for (var rowIndex = 0; rowIndex < png.Height; rowIndex++) @@ -917,4 +917,4 @@ } -} \ No newline at end of file +}