Commit Graph

5 Commits

Author SHA1 Message Date
Jeremy Attali
cdbd06d7af fix(pixbuf): handle invalid input file
If the input file is invalid (example: `grim` did not work due to
invalid geometry), handle the error gracefully.

Previously we had a coredump due to `g_error`.
2021-02-27 14:34:23 -05:00
Jeremy Attali
5bcffdbb01 fix(ui): compute window sizes and buffers properly
Compute maximum width and height of area container based on monitor size
and fix image ratio based on appropriate values.

Note that this will lower the resolution of the final image.

Closes #56
2021-02-15 13:53:33 -05:00
apiraino
597f0055b9 feat(cli): add configure options for filename save 2020-12-12 13:03:38 -05:00
Jeremy Attali
196f7f4dea feat(application): print final surface to file or stdout
This allows a user to output the final surface to `stdout` using:

- `-0`
- `--output-file``

Also adding another keybinding to exit the application `Ctrl+w` which is
pretty standard.

Closes #2
2020-01-19 23:48:55 -05:00
Jeremy Attali
38b96e35f8 refactor(pixvuf): move pixbuf to separate file 2020-01-19 23:48:55 -05:00