summaryrefslogtreecommitdiff
path: root/src/gib_imlib.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-17 21:18:27 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-17 21:18:27 +0200
commitcb74e5dc838b12c43510410aa81634a855fb5fd6 (patch)
treef274db29e9ee100663d5e662e772c4c0fe74bff5 /src/gib_imlib.c
parent9803fc41e8e6a820634f41d2196bdced7cbbc99f (diff)
parent1e4a78c872cec48a839fbd55e430cac40e16dd9b (diff)
Merge branch 'Ferada-complete-exif-rotations'
Diffstat (limited to 'src/gib_imlib.c')
-rw-r--r--src/gib_imlib.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gib_imlib.c b/src/gib_imlib.c
index 8f401aa..7858cb7 100644
--- a/src/gib_imlib.c
+++ b/src/gib_imlib.c
@@ -717,3 +717,15 @@ void gib_imlib_image_orientate(Imlib_Image im, int orientation)
imlib_context_set_image(im);
imlib_image_orientate(orientation);
}
+
+void gib_imlib_image_flip_horizontal(Imlib_Image im)
+{
+ imlib_context_set_image(im);
+ imlib_image_flip_horizontal();
+}
+
+void gib_imlib_image_flip_vertical(Imlib_Image im)
+{
+ imlib_context_set_image(im);
+ imlib_image_flip_vertical();
+}