1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00

PixelPaint: Export image as BMP

You can now export your masterpieces as fresh, crisp BMP files.
This commit is contained in:
BenJilks 2020-10-18 17:17:49 +00:00 committed by Andreas Kling
parent d8474d80f2
commit 58c30959b1
7 changed files with 192 additions and 3 deletions

View file

@ -51,9 +51,10 @@ void ImageEditor::set_image(RefPtr<Image> image)
m_image->remove_client(*this);
m_image = move(image);
m_active_layer = nullptr;
m_history.reset(*m_image);
update();
image_did_modify_layer_stack();
relayout();
if (m_image)
m_image->add_client(*this);