Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -24,6 +24,7 @@ class Bitmap {
|
|||
|
||||
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.")
|
||||
Process.exit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue