mirror of
https://github.com/jtheoof/swappy.git
synced 2024-07-14 18:00:25 +03:00
docs(readme): mention support for image files other than PNG
At the very least, JPEG is working after the below commit:
5bcffdbb01
This commit is contained in:
parent
bf265b69f1
commit
2916516e2c
@ -1,6 +1,6 @@
|
||||
# swappy
|
||||
|
||||
A Wayland native snapshot and editor tool, inspired by [Snappy] on macOS. Works great with [grim], [slurp] and [sway]. But can easily work with other screen copy tools that can output a final PNG image to `stdout`. See [below](#example-usage).
|
||||
A Wayland native snapshot and editor tool, inspired by [Snappy] on macOS. Works great with [grim], [slurp] and [sway]. But can easily work with other screen copy tools that can output a final image to `stdout`. See [below](#example-usage).
|
||||
|
||||
## Screenshot
|
||||
|
||||
@ -8,7 +8,7 @@ A Wayland native snapshot and editor tool, inspired by [Snappy] on macOS. Works
|
||||
|
||||
## Example usage
|
||||
|
||||
Output of `grim` (or any tool outputing a PNG file):
|
||||
Output of `grim` (or any tool outputing an image file):
|
||||
|
||||
```sh
|
||||
grim -g "$(slurp)" - | swappy -f -
|
||||
|
@ -14,4 +14,4 @@ Keywords=wayland;snapshot;annotation;editing;
|
||||
Icon=swappy
|
||||
Categories=Utility;Graphics;Annotation;
|
||||
StartupNotify=true
|
||||
MimeType=image/png;
|
||||
MimeType=image/png;image/jpeg;
|
||||
|
@ -12,7 +12,7 @@ swappy - grab and edit on the fly snapshots of a Wayland compositor
|
||||
|
||||
swappy is a command-line utility to take and edit screenshots of Wayland
|
||||
desktops. Works great with grim, slurp and sway. But can easily work with
|
||||
other screen copy tools that can output a final PNG image to *stdout*.
|
||||
other screen copy tools that can output a final image to *stdout*.
|
||||
|
||||
swappy will save the annotated images to the config *save_dir*, see below.
|
||||
|
||||
@ -30,7 +30,7 @@ to: *$HOME/Desktop*.
|
||||
Show version and quit.
|
||||
|
||||
*-f, --file* <file>
|
||||
A PNG file to load for editing.
|
||||
An image file to load for editing.
|
||||
|
||||
If set to *-*, read the file from standard input instead. This is grim
|
||||
friendly.
|
||||
|
Loading…
Reference in New Issue
Block a user