Skip to content

Commit

Permalink
Merge pull request #103 from robinmordasiewicz/screenshots-29
Browse files Browse the repository at this point in the history
fix: screenshot arrows
  • Loading branch information
robinmordasiewicz authored Nov 26, 2023
2 parents 2c2d390 + 77b21c8 commit e006ee8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ jobs:
convert arrow-white-border.png \
-bordercolor none -border 20 \
\( -clone 0 -fill black -colorize 100 \) \
\( -clone 0 -alpha extract -write mpr:alpha -morphology edgeout disk:2 \) \
\( -clone 0 -alpha extract -write mpr:alpha -morphology edgeout disk:1 \) \
-alpha off -compose over -composite \
\( mpr:alpha -morphology dilate disk:2 \) \
\( mpr:alpha -morphology dilate disk:1 \) \
-alpha off -compose copy_opacity -composite \
$entry
done
Expand All @@ -134,7 +134,7 @@ jobs:
- name: overlay-arrow
run: |
composite -geometry +810+55 315-arrow.png github-fork-border.png github-fork-border-arrow.png
composite -geometry +520+155 225-arrow.png github-profile-border.png github-profile-border-arrow.png
composite -geometry +525+160 225-arrow.png github-profile-border.png github-profile-border-arrow.png
- name: make-drop-shadow
run: |
Expand Down
Binary file modified docs/img/github-fork.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/github-profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions tmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ convert -size 486x96 \

width=8
wfact=$((1000 * width))
depth=75
depth=80
icontr=$(convert xc: -format "%[fx:(0.5*$depth-100)]" info:)

convert arrow.png -bordercolor none -border 10x10 -write mpr:img \
Expand All @@ -30,9 +30,9 @@ convert arrow.png -bordercolor none -border 10x10 -write mpr:img \
convert arrow-bevel.png \
-bordercolor none -border 20 \
\( -clone 0 -fill white -colorize 100 \) \
\( -clone 0 -alpha extract -write mpr:alpha -morphology edgeout disk:1 \) \
\( -clone 0 -alpha extract -write mpr:alpha -morphology edgeout disk:2 \) \
-alpha off -compose over -composite \
\( mpr:alpha -morphology dilate disk:1 \) \
\( mpr:alpha -morphology dilate disk:2 \) \
-alpha off -compose copy_opacity -composite \
arrow-white-border.png

Expand Down

0 comments on commit e006ee8

Please sign in to comment.