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-28 08:23:00 +0200
commit47fe5f2bb57680dfcbb4063ddd7fa9c808562b8c (patch)
treec606684e9ec28e96e1b2bdb09e7567da23256828 /src/eom-image.h
parent6362acf0a43d91db96e1a64ede965bb930759983 (diff)
downloadeom-47fe5f2bb57680dfcbb4063ddd7fa9c808562b8c.tar.bz2
eom-47fe5f2bb57680dfcbb4063ddd7fa9c808562b8c.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);