In the function
load(s::Stream{format"PBMBinary"})
the constructor BitArray(w, h) is called. This should now be BitArray(undef, w, h). In the function
load(s::Stream{format"PBMBinary"})
the call to permuteddimsview has been deprecated. This should now be PermutedDimsArray (since ImageCore version 0.8.17).
I discovered this while adding methods for reading and writing "plain" Netpbm formats. I have code that fixes this issue (including added tests for "PBMBinary" format), and code that adds I/O for plain formats. I can submit this as a single PR, or two separate PRs, whichever seems best.
In the function
load(s::Stream{format"PBMBinary"})
the constructorBitArray(w, h)
is called. This should now beBitArray(undef, w, h)
. In the functionload(s::Stream{format"PBMBinary"})
the call topermuteddimsview
has been deprecated. This should now bePermutedDimsArray
(since ImageCore version 0.8.17).I discovered this while adding methods for reading and writing "plain"
Netpbm
formats. I have code that fixes this issue (including added tests for"PBMBinary"
format), and code that adds I/O for plain formats. I can submit this as a single PR, or two separate PRs, whichever seems best.