diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2016-09-25 21:59:45 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2016-09-25 21:59:45 +0000 |
| commit | ee2e7c9c9907008de656773b98e1239a7f1af2a9 (patch) | |
| tree | 3cc31212215d81a5b8ecf383c70025b31a4dc3ba /src/helper/png-write.h | |
| parent | Changed order of selection items (diff) | |
| download | inkscape-ee2e7c9c9907008de656773b98e1239a7f1af2a9.tar.gz inkscape-ee2e7c9c9907008de656773b98e1239a7f1af2a9.zip | |
Exposes to the user additional PNG settings: Interlacing, grayscale, bit depth, alpha, compression level, PNG pHYs dpi.
Fixed bugs:
- https://launchpad.net/bugs/170650
(bzr r15131)
Diffstat (limited to 'src/helper/png-write.h')
| -rw-r--r-- | src/helper/png-write.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/helper/png-write.h b/src/helper/png-write.h index 2657fb635..e47f01743 100644 --- a/src/helper/png-write.h +++ b/src/helper/png-write.h @@ -34,12 +34,14 @@ ExportResult sp_export_png_file(SPDocument *doc, gchar const *filename, double x0, double y0, double x1, double y1, unsigned long int width, unsigned long int height, double xdpi, double ydpi, unsigned long bgcolor, - unsigned int (*status) (float, void *), void *data, bool force_overwrite = false, const std::vector<SPItem*> &items_only = std::vector<SPItem*>()); + unsigned int (*status) (float, void *), void *data, bool force_overwrite = false, const std::vector<SPItem*> &items_only = std::vector<SPItem*>(), + bool interlace = false, int color_type = 6, int bit_depth = 8, int zlib = 6); ExportResult sp_export_png_file(SPDocument *doc, gchar const *filename, Geom::Rect const &area, unsigned long int width, unsigned long int height, double xdpi, double ydpi, unsigned long bgcolor, - unsigned int (*status) (float, void *), void *data, bool force_overwrite = false, const std::vector<SPItem*> &items_only = std::vector<SPItem*>()); + unsigned int (*status) (float, void *), void *data, bool force_overwrite = false, const std::vector<SPItem*> &items_only = std::vector<SPItem*>(), + bool interlace = false, int color_type = 6, int bit_depth = 8, int zlib = 6); #endif // SEEN_SP_PNG_WRITE_H |
