|
FlatImage
A configurable Linux containerization system
|
Application icon image storage in reserved space. More...
Classes | |
| struct | Icon |
| Stores icon data in reserved space. More... | |
Functions | |
| Value< void > | write (fs::path const &path_file_binary, Icon const &icon) |
| Writes the Icon struct to the target binary. | |
| Value< Icon > | read (fs::path const &path_file_binary) |
| Reads the Icon struct from the target binary. | |
Application icon image storage in reserved space.
This namespace manages embedded icon image data stored in the binary's reserved space. It stores icons in PNG or JPEG format along with the file extension and size metadata. The embedded icon is used for desktop integration, appearing in application launchers, taskbars, and .desktop files. Icons are processed through ImageMagick for resizing as needed.
Reads the Icon struct from the target binary.
| path_file_binary | Target binary to write the struct from |
Definition at line 104 of file icon.hpp.
|
inline |
Writes the Icon struct to the target binary.
| path_file_binary | Target binary to write the struct to |
| icon | Struct to write to the target file as binary data |
Definition at line 84 of file icon.hpp.