image: Add rotation and auto rotate based on exif

This commit is contained in:
Sophie Herold 2022-11-03 17:40:06 +01:00
parent 3d6564377a
commit a2e6767584
10 changed files with 257 additions and 94 deletions

View file

@ -22,8 +22,6 @@
</child>
<child>
<object class="LpImage" id="image">
<property name="halign">center</property>
<property name="valign">center</property>
<child>
<object class="GtkGestureClick" id="click_gesture">
<property name="button">3</property>
@ -63,10 +61,10 @@
<attribute name="label" translatable="yes">_Copy</attribute>
<attribute name="action">win.copy</attribute>
</item>
<!--<item>
<item>
<attribute name="label" translatable="yes">_Rotate</attribute>
<attribute name="action">win.rotate-image</attribute>
</item>-->
</item>
<item>
<attribute name="label" translatable="yes">_Set as Background…</attribute>
<attribute name="action">win.set-background</attribute>

View file

@ -129,10 +129,10 @@
<attribute name="label" translatable="yes">_Print…</attribute>
<attribute name="action">win.print</attribute>
</item>
<!--<item>
<item>
<attribute name="label" translatable="yes">_Rotate</attribute>
<attribute name="action">win.rotate-image</attribute>
</item>-->
</item>
<item>
<attribute name="label" translatable="yes">_Set as Background…</attribute>
<attribute name="action">win.set-background</attribute>