lehitoskin/ivy

Image manipulation

Closed this issue · 5 comments

Perhaps a new menu-item Image that will allow the user to flip the image horizontally and vertically, as well as rotate it to the left and right.

Image
--Rotate left
--Rotate right
--Flip horizontally <->
--Flip vertically ^|v

... or something

Keyboard shortcuts(?):
Mod+Left = rotate left
Mod+Right = rotate right

I'd be careful about overloading the arrow keys to edit people's files, especially if flipping it back how it was isn't guaranteed to be byte-for-byte identical to the original. On OS X, the Preview app uses -L and -R, as examples of alternatives.

I was initially thinking it would not save changes to the file at all, but I suppose eog and eom ask if you want to save the file if you rotate/flip a file before moving onto the next one.

TODO:

  • Flip Horizontal
  • Flip Vertical

Maybe switch from picts to flomaps? I'll have to check on flomaps' image quality while resizing a lot.

Picts are much, much faster for doing operatings, it's just they currently do not have flip-horizontal and flip-vertical functions.