internal Png(ImageHeader header, RawPngData data) { Header = header; this.data = data ?? throw new ArgumentNullException(nameof(data)); }
internal Png(ImageHeader header, RawPngData data, bool hasTransparencyChunk) { Header = header; this.data = data ?? throw new ArgumentNullException(nameof(data)); this.hasTransparencyChunk = hasTransparencyChunk; }