https://github.com/bandie91/perspect
image perspection correction tool for gtk-2
https://github.com/bandie91/perspect
Last synced: 3 months ago
JSON representation
image perspection correction tool for gtk-2
- Host: GitHub
- URL: https://github.com/bandie91/perspect
- Owner: bAndie91
- License: agpl-3.0
- Created: 2020-11-14T11:53:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-03T08:04:46.000Z (over 2 years ago)
- Last Synced: 2025-01-03T11:22:35.157Z (5 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: LICENSE
Awesome Lists containing this project
README
'Perspect' perspectiion correction utility
what does this program do?
- display the image file given in cli argument in a window
- let you select 4 coordinates with left mouse button
- you can move an already pinned point by clicking again so then the closes point will be moved over
- remove a pin point by right-clicking nearby
- middle-click redraws the helper quadrangleKEYS
F1 - perspective correction (distort) and crop, then open resulting image
F2 - crop around on bounding box, then open
F3 - rotate the image so the drawn line segment (pin 2 points down only, not 4) to be horizontal
F4 - rotate the image so the drawn line segment (pin 2 points down only, not 4) to be vertical
Ctrl-S - save as dialog
Ctrl-O - open in gPicView
ESC - closeHINTS
images are not scaled, but displayed at the original size, so
a window manager which supports Alt-dragging and window regions being out of the screen
is recommended to work on large images.REQUIREMENTS
- gtk-2, pygtk
- imagemagick, convert(1) is called internally