diff options
author | MladoniSzabi <szabimlado@gmail.com> | 2022-10-05 13:29:22 +0100 |
---|---|---|
committer | MladoniSzabi <szabimlado@gmail.com> | 2022-10-07 11:56:51 +0100 |
commit | a5c4df7a99a5d38a87e10e996439db6a8b49f756 (patch) | |
tree | 899ad0bdafecf5a5e7a542c1ae6f9b84383f82f2 /thirdparty | |
parent | 58ca3031419cacb35c530cebe68e87a4c27dde06 (diff) |
Fixed Image.save_jpg() returning OK but not saving image.
The function that was supposed to implement the saving in
image_loader_jpegd was just returning OK without doing anything.
Copied the code from _jpgd_buffer_save_func to _jpgd_save_func but
changed the ImageLoaderJPGOSBufferto a ImageLoaderJPGOSFile to save
to a file instead of memory. Changed the image format from
FORMAT_ETC2_RGB8 to FORMAT_RGB8 since the first one was creating
a weird greyscale interlaced image.
Diffstat (limited to 'thirdparty')
0 files changed, 0 insertions, 0 deletions