graphics.loadPNG: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 9: Line 9:
|parameter1 = Stream stream The [[openFile|file stream]] of the image, or String with a URL to a PNG file
|parameter1 = Stream stream The [[openFile|file stream]] of the image, or String with a URL to a PNG file
|returnFail1 = bool false
|returnFail1 = bool false
|notes = The first parameter can be either a [[openFile|image]], or a URL to a file on the internet.<br>
|notes = The first parameter can be either a [[openFile|image file]], or a URL to a file on the internet.<br>
When using a URL, the file must be accessible by the '''client'''. The client will use it's own connection to grab the file and it must be publicly available.<br>
When using a URL, the file must be accessible by the '''client'''. The client will use it's own connection to grab the file and it must be publicly available.<br>
The texture object created by this function is sometimes referred to as a "surface" like in [[graphics.drawRectangle|graphics.drawRectangle]]
The texture object created by this function is sometimes referred to as a "surface" like in [[graphics.drawRectangle|graphics.drawRectangle]]
}}
}}
2,845

edits

Navigation menu