blob: 32edf8ce39658465a3db8e801c1df7dc43b63d3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef SEEN_SAVE_IMAGE_H
#define SEEN_SAVE_IMAGE_H
#include <gtkmm/window.h>
#include <string>
class SPImage;
namespace Inkscape {
class Pixbuf;
// Save 'pixbuf' image into a file
bool save_image(const std::string& fname, const Inkscape::Pixbuf* pixbuf);
// Use file chooser to select a path and then save the 'image'
bool extract_image(Gtk::Window* parent, SPImage* image);
} // namespace Inkscape
#endif // SEEN_SAVE_IMAGE_H
|