This PR refactors the image library by avoiding the inclusion of sub-library implementations within image.cpp. Now, each component is compiled in its own translation unit, and the resulting object files are added to image.a. The PR also enables the _SAVEIMAGE command to export images in the GIF format.
Update: Adds support for loading .ico and .cur files, as well as saving .ico files, using _LOADIMAGE and _SAVEIMAGE respectively.
This PR refactors the image library by avoiding the inclusion of sub-library implementations within
image.cpp
. Now, each component is compiled in its own translation unit, and the resulting object files are added toimage.a
. The PR also enables the_SAVEIMAGE
command to export images in theGIF
format.Update: Adds support for loading
.ico
and.cur
files, as well as saving.ico
files, using_LOADIMAGE
and_SAVEIMAGE
respectively.