#BlueJ class context comment0.params=imageFile comment0.target=OFImage\ loadImage(File) comment0.text=\nRead\ an\ image\ file\ from\ disk\ and\ return\ it\ as\ an\ image.\ This\ method\ncan\ read\ JPG\ and\ PNG\ file\ formats.\ In\ case\ of\ any\ problem\ (e.g\ the\ file\ \ndoes\ not\ exist,\ is\ in\ an\ undecodable\ format,\ or\ any\ other\ read\ error)\ \nthis\ method\ returns\ null.\n\n@param\ imageFile\ \ The\ image\ file\ to\ be\ loaded.\n@return\ \ \ \ \ \ \ \ \ \ \ The\ image\ object\ or\ null\ is\ it\ could\ not\ be\ read.\n\n comment1.params=image\ file comment1.target=void\ saveImage(OFImage,\ File) comment1.text=\nWrite\ an\ image\ file\ to\ disk.\ The\ file\ format\ is\ JPG.\ In\ case\ of\ any\ \nproblem\ the\ method\ just\ silently\ returns.\n\n@param\ image\ \ The\ image\ to\ be\ saved.\n@param\ file\ \ \ The\ file\ to\ save\ to.\n\n numComments=2