f
This commit is contained in:
parent
ec5bc9ba1e
commit
bb80426a4d
1 changed files with 4 additions and 4 deletions
|
@ -17,10 +17,10 @@ for channels in 1 .. 4:
|
|||
var data: seq[uint8]
|
||||
for x in 0 ..< 16:
|
||||
for y in 0 ..< 16:
|
||||
var components = newSeq[uint8](channels)
|
||||
for i in 0 ..< channels:
|
||||
components[i] = (x * 16).uint8
|
||||
data.add(components)
|
||||
var components = newSeq[uint8](channels)
|
||||
for i in 0 ..< channels:
|
||||
components[i] = (x * 16).uint8
|
||||
data.add(components)
|
||||
let encoded = encodePng(16, 16, channels, data[0].addr, data.len)
|
||||
|
||||
for file in pngSuiteCorruptedFiles:
|
||||
|
|
Loading…
Reference in a new issue