Skip to content

Commit

Permalink
Merge pull request #3 from alanfoss/feature/1
Browse files Browse the repository at this point in the history
Minor updates
  • Loading branch information
alanfoss authored Apr 8, 2023
2 parents 7b2fdfa + 1e984b4 commit c6e3ab0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ This script does the following:
+ reduces width to meet OSDC 600 pixel width limit
+ adds a 1 pixel border of specified color
+ places finished images into a "Ready" directory


This script relies on utilities provided by the package ImageMagick.
+ Fedora - dnf info imagemagick
___

## PEOPLE ##
Expand Down
12 changes: 4 additions & 8 deletions prepimg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@
## - reduces width to meet OSDC 600 pixel limit
## - adds a border
## - places finished images into a "Ready" directory
## !! Requires the package ImageMagick !!
AUTHOR='Alan Formy-Duval'
CREATED='August 10, 2021'
UPDATED='September 29, 2021'
VERSION='0.7'
UPDATED='April 7, 2023'
VERSION='0.8'
########################################################################


## To make file handling a little easier, I recommend using the GNOME
## extension named Screenshot Tool. It allows configuration of the
## directory location where screenshots will be saved.
## Reference: https://extensions.gnome.org/extension/1112/screenshot-tool/
## For this script, configure to save screenshots in the directory shown below:
## By default, the GNOME Desktop saves screenshots in the directory shown below:
SCREENSHOTS=${SCREENSHOTS:-"$HOME/Pictures/Screenshots"}
READY=${READY:-"$SCREENSHOTS/Ready"}
BORDER=${BORDER:-black}
Expand Down

0 comments on commit c6e3ab0

Please sign in to comment.