Skip to content

Commit

Permalink
changed path
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinevog committed Feb 23, 2024
1 parent 6d7443b commit 7a4e234
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Binary file added banner-thumb.jpg
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 banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added banner.webp
Binary file not shown.
5 changes: 3 additions & 2 deletions tools/img-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
# -gaussian-blur 0.05
echo "Enter the filename (with extension), the new image name and extension - "
read image
imgfile="$image"
read location ## assets/images/posts/2024-02-23-Pulumi-end-to-end-on-Azure
imgfile="$location"+"/"+"$image"
newname='banner'
newext='jpg'
newimg=$newname.$newext
newimg="$location"+$newname.$newext
echo "$imgfile $newimg"
convert $imgfile -sampling-factor 4:2:0 -strip -quality 85 -interlace Plane -colorspace RGB $newimg
convert -resize 5% $newimg $newname-thumb.$newext
Expand Down

0 comments on commit 7a4e234

Please sign in to comment.