Bitmap/Read an image through a pipe: Difference between revisions
Bitmap/Read an image through a pipe (view source)
Revision as of 11:33, 9 November 2023
, 6 months ago→{{header|Wren}}: Fixed a potential timing issue with FileSystem.load.
m (→{{header|Wren}}: Changed to Wren S/H) |
(→{{header|Wren}}: Fixed a potential timing issue with FileSystem.load.) |
||
Line 750:
loadPPMFile(fileName) {
var ppm = FileSystem.load(fileName)
var count = ppm.count //ensure file is fully loaded before proceeding
if (ppm[0..1] != "P6") {
System.print("The loaded file is not a P6 file.")
|