mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
PixelPaint: Support opening more image file formats
Previously we could only open .pp files, now we can open all formats supported by Gfx::Bitmap::load_from_file
This commit is contained in:
parent
566d3cb393
commit
76adac103e
3 changed files with 34 additions and 3 deletions
|
@ -49,7 +49,7 @@ int main(int argc, char** argv)
|
|||
|
||||
const char* image_file = nullptr;
|
||||
Core::ArgsParser args_parser;
|
||||
args_parser.add_positional_argument(image_file, "Pixel Paint image file (*.pp) to open", "path", Core::ArgsParser::Required::No);
|
||||
args_parser.add_positional_argument(image_file, "Image file to open", "path", Core::ArgsParser::Required::No);
|
||||
args_parser.parse(argc, argv);
|
||||
|
||||
auto app_icon = GUI::Icon::default_icon("app-pixel-paint");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue