mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Generalized core:image loader
```odin
import "core:image"
import "core:image/png"
...
img, err := image.load_from_file("path.png")
```
This commit is contained in:
@@ -172,6 +172,7 @@ General_Image_Error :: enum {
|
||||
Unable_To_Write_File,
|
||||
|
||||
// Invalid
|
||||
Unsupported_Format,
|
||||
Invalid_Signature,
|
||||
Invalid_Input_Image,
|
||||
Image_Dimensions_Too_Large,
|
||||
|
||||
Reference in New Issue
Block a user