summaryrefslogtreecommitdiff
path: root/src/gib_imlib.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-17 21:17:07 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-17 21:17:07 +0200
commit1e4a78c872cec48a839fbd55e430cac40e16dd9b (patch)
treef274db29e9ee100663d5e662e772c4c0fe74bff5 /src/gib_imlib.c
parent9803fc41e8e6a820634f41d2196bdced7cbbc99f (diff)
parent0dd07456d361736b8f100c45b3edada6ef4f1e42 (diff)
Merge branch 'complete-exif-rotations' of https://github.com/Ferada/feh into 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();
+}