Skip to content

Commit

Permalink
Add asset images for Htek brand and models (#348)
Browse files Browse the repository at this point in the history
* Brand and model images for Provisioner/HTek

* ImageMagick scripts for brands an models

* Add HTek 902, 903, 912, 912G, UC924 & UC926
  • Loading branch information
vlad88sv authored and joristirado committed May 13, 2019
1 parent 9496c8d commit 73967dd
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/convert_brand_image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
command -v convert >/dev/null 2>&1 || { echo >&2 "I require ImageMagick's 'convert' tool but it's not installed. Aborting."; exit 1; }
[ $# -lt 2 ] && { echo "Usage: ./convert_brand_image.sh <input_image> <output_image_base_name>"; exit 1; }
convert "$1" -trim +repage -gravity center -resize 80x60 -background white -gravity center -extent 100x80 "$2".png
7 changes: 7 additions & 0 deletions scripts/convert_model_image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
command -v convert >/dev/null 2>&1 || { echo >&2 "I require ImageMagick's 'convert' tool but it's not installed. Aborting."; exit 1; }
[ $# -lt 1 ] && { echo "Usage: ./convert_model_image.sh <input_images>..."; exit 1; }
for var in "$@"; do
filename="${var%%.*}"
convert "$var" -trim +repage -gravity center -resize 80x70 -background white -gravity center -extent 100x80 "$filename.jpg"
done
Binary file added src/css/assets/brands/htek.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 added src/css/assets/models/htek_uc9xx_uc902.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 src/css/assets/models/htek_uc9xx_uc903.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 src/css/assets/models/htek_uc9xx_uc912.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 src/css/assets/models/htek_uc9xx_uc912e.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 src/css/assets/models/htek_uc9xx_uc912g.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 src/css/assets/models/htek_uc9xx_uc923.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 src/css/assets/models/htek_uc9xx_uc924.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 src/css/assets/models/htek_uc9xx_uc924e.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 src/css/assets/models/htek_uc9xx_uc926.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 src/css/assets/models/htek_uc9xx_uc926e.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 73967dd

Please sign in to comment.