Support plain pixel conversion, convert spinda spots to .png
This commit is contained in:
1 parent
41ac28b210
commit
6fdf75bd8c
15 files changed
+159
-35
No files matched your search
@@ -130,7 +130,6 @@ void ReadPng(char *path, struct Image *image)
|
||||
FATAL_ERROR("Bit depth of image must be 1, 2, 4, or 8.\n");
|
||||
image->pixels = ConvertBitDepth(image->pixels, bit_depth, image->bitDepth, image->width * image->height);
|
||||
free(src);
|
||||
image->bitDepth = bit_depth;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user