summaryrefslogtreecommitdiff
path: root/src/eom-image.h
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2017-04-22 14:11:23 +0200
committerraveit65 <[email protected]>2017-04-23 12:12:21 +0200
commit57c530e27bb13687d674fb7abba03d414ab814fb (patch)
treea63dc28bd58176f5a834f02b6559d5ab6786ebca /src/eom-image.h
parent21685bf89ab10cc5cd51f9d2963c63d11632a182 (diff)
downloadeom-57c530e27bb13687d674fb7abba03d414ab814fb.tar.bz2
eom-57c530e27bb13687d674fb7abba03d414ab814fb.tar.xz
Avoid recompressing JPEGs as PNG when printing
Use cairo's feature to simply attach the source file data to the printing surface. This reduces the file size of the resulting PDF file pretty much to the source file size. https://bugzilla.gnome.org/show_bug.cgi?id=394260 taken from: https://git.gnome.org/browse/eog/commit/?id=7029dfe
Diffstat (limited to 'src/eom-image.h')
-rw-r--r--src/eom-image.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/eom-image.h b/src/eom-image.h
index 3e503db..74abdc5 100644
--- a/src/eom-image.h
+++ b/src/eom-image.h
@@ -211,9 +211,13 @@ gboolean eom_image_start_animation (EomImage *img);
#ifdef HAVE_RSVG
gboolean eom_image_is_svg (EomImage *img);
RsvgHandle *eom_image_get_svg (EomImage *img);
-EomTransform *eom_image_get_transform (EomImage *img);
#endif
+EomTransform *eom_image_get_transform (EomImage *img);
+EomTransform *eom_image_get_autorotate_transform (EomImage *img);
+
+gboolean eom_image_is_jpeg (EomImage *img);
+
void eom_image_file_changed (EomImage *img);
gboolean eom_image_is_file_changed (EomImage *img);