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:
parent
d8474d80f2
commit
58c30959b1
7 changed files with 192 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue