diff --git a/scripts/generate-images.sh b/scripts/generate-images.sh index 5714bce..d0ab5a9 100755 --- a/scripts/generate-images.sh +++ b/scripts/generate-images.sh @@ -58,9 +58,7 @@ generate_preview_gif() { # If so, regenerate the preview GIF. - convert -background white \ - -alpha remove \ - -delay 30 \ + magick -delay 30 \ -loop 0 \ $2 \ "$3" \ @@ -93,7 +91,7 @@ generate_different_sized_images() { for imageSize in "${IMAGE_SIZES[@]}"; do - convert "$path/$basename.png" \ + magick "$path/$basename.png" \ $CONVERT_BASE_OPTIONS \ -resize "$imageSize" \ "$path/${basename}_$imageSize.png" \ @@ -136,7 +134,7 @@ generate_group_image() { tmp+=("src/$i/$i.png") done - convert "${tmp[@]}" \ + magick "${tmp[@]}" \ $CONVERT_BASE_OPTIONS \ -resize 512x512 \ -extent 562x562 \ @@ -159,11 +157,11 @@ main() { # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Check if ImageMagick's `convert` + # Check if ImageMagick's `magick` # command-line tool is available. - if ! cmd_exists "convert"; then - print_error "Please install ImageMagick's 'convert' command-line tool!" + if ! cmd_exists "magick"; then + print_error "Please install ImageMagick's 'magick' command-line tool!" return 1 fi diff --git a/src/languages.json b/src/languages.json index c4adf3f..df7c72d 100644 --- a/src/languages.json +++ b/src/languages.json @@ -15,6 +15,7 @@ "python": "python", "r": "r", "ruby": "ruby", + "rust": "rust", "swift": "swift", "typescript": "typescript" } diff --git a/src/rust-blk/rust-blk.png b/src/rust-blk/rust-blk.png new file mode 100644 index 0000000..8154409 Binary files /dev/null and b/src/rust-blk/rust-blk.png differ diff --git a/src/rust-blk/rust-blk_128x128.png b/src/rust-blk/rust-blk_128x128.png new file mode 100644 index 0000000..8217bf8 Binary files /dev/null and b/src/rust-blk/rust-blk_128x128.png differ diff --git a/src/rust-blk/rust-blk_16x16.png b/src/rust-blk/rust-blk_16x16.png new file mode 100644 index 0000000..da4b966 Binary files /dev/null and b/src/rust-blk/rust-blk_16x16.png differ diff --git a/src/rust-blk/rust-blk_24x24.png b/src/rust-blk/rust-blk_24x24.png new file mode 100644 index 0000000..1a84b35 Binary files /dev/null and b/src/rust-blk/rust-blk_24x24.png differ diff --git a/src/rust-blk/rust-blk_256x256.png b/src/rust-blk/rust-blk_256x256.png new file mode 100644 index 0000000..5af6888 Binary files /dev/null and b/src/rust-blk/rust-blk_256x256.png differ diff --git a/src/rust-blk/rust-blk_32x32.png b/src/rust-blk/rust-blk_32x32.png new file mode 100644 index 0000000..64fd051 Binary files /dev/null and b/src/rust-blk/rust-blk_32x32.png differ diff --git a/src/rust-blk/rust-blk_48x48.png b/src/rust-blk/rust-blk_48x48.png new file mode 100644 index 0000000..52cd68d Binary files /dev/null and b/src/rust-blk/rust-blk_48x48.png differ diff --git a/src/rust-blk/rust-blk_512x512.png b/src/rust-blk/rust-blk_512x512.png new file mode 100644 index 0000000..b942025 Binary files /dev/null and b/src/rust-blk/rust-blk_512x512.png differ diff --git a/src/rust-blk/rust-blk_64x64.png b/src/rust-blk/rust-blk_64x64.png new file mode 100644 index 0000000..a0106da Binary files /dev/null and b/src/rust-blk/rust-blk_64x64.png differ diff --git a/src/rust-blk/rust.svg b/src/rust-blk/rust.svg new file mode 100644 index 0000000..450eda1 --- /dev/null +++ b/src/rust-blk/rust.svg @@ -0,0 +1 @@ + diff --git a/src/rust/rust.png b/src/rust/rust.png new file mode 100644 index 0000000..598f212 Binary files /dev/null and b/src/rust/rust.png differ diff --git a/src/rust/rust_128x128.png b/src/rust/rust_128x128.png new file mode 100644 index 0000000..f647387 Binary files /dev/null and b/src/rust/rust_128x128.png differ diff --git a/src/rust/rust_16x16.png b/src/rust/rust_16x16.png new file mode 100644 index 0000000..e1b0082 Binary files /dev/null and b/src/rust/rust_16x16.png differ diff --git a/src/rust/rust_24x24.png b/src/rust/rust_24x24.png new file mode 100644 index 0000000..5c4d241 Binary files /dev/null and b/src/rust/rust_24x24.png differ diff --git a/src/rust/rust_256x256.png b/src/rust/rust_256x256.png new file mode 100644 index 0000000..c74d648 Binary files /dev/null and b/src/rust/rust_256x256.png differ diff --git a/src/rust/rust_32x32.png b/src/rust/rust_32x32.png new file mode 100644 index 0000000..299e046 Binary files /dev/null and b/src/rust/rust_32x32.png differ diff --git a/src/rust/rust_48x48.png b/src/rust/rust_48x48.png new file mode 100644 index 0000000..a683011 Binary files /dev/null and b/src/rust/rust_48x48.png differ diff --git a/src/rust/rust_512x512.png b/src/rust/rust_512x512.png new file mode 100644 index 0000000..5ccd41e Binary files /dev/null and b/src/rust/rust_512x512.png differ diff --git a/src/rust/rust_64x64.png b/src/rust/rust_64x64.png new file mode 100644 index 0000000..9c2ef98 Binary files /dev/null and b/src/rust/rust_64x64.png differ diff --git a/src/rustacean/rustacean.png b/src/rustacean/rustacean.png new file mode 100644 index 0000000..e81db72 Binary files /dev/null and b/src/rustacean/rustacean.png differ diff --git a/src/rustacean/rustacean.svg b/src/rustacean/rustacean.svg new file mode 100644 index 0000000..0091b5a --- /dev/null +++ b/src/rustacean/rustacean.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/rustacean/rustacean_128x128.png b/src/rustacean/rustacean_128x128.png new file mode 100644 index 0000000..bdb0123 Binary files /dev/null and b/src/rustacean/rustacean_128x128.png differ diff --git a/src/rustacean/rustacean_16x16.png b/src/rustacean/rustacean_16x16.png new file mode 100644 index 0000000..f9fa488 Binary files /dev/null and b/src/rustacean/rustacean_16x16.png differ diff --git a/src/rustacean/rustacean_24x24.png b/src/rustacean/rustacean_24x24.png new file mode 100644 index 0000000..8db0c63 Binary files /dev/null and b/src/rustacean/rustacean_24x24.png differ diff --git a/src/rustacean/rustacean_256x256.png b/src/rustacean/rustacean_256x256.png new file mode 100644 index 0000000..de53e75 Binary files /dev/null and b/src/rustacean/rustacean_256x256.png differ diff --git a/src/rustacean/rustacean_32x32.png b/src/rustacean/rustacean_32x32.png new file mode 100644 index 0000000..c8ba122 Binary files /dev/null and b/src/rustacean/rustacean_32x32.png differ diff --git a/src/rustacean/rustacean_48x48.png b/src/rustacean/rustacean_48x48.png new file mode 100644 index 0000000..54e1cf7 Binary files /dev/null and b/src/rustacean/rustacean_48x48.png differ diff --git a/src/rustacean/rustacean_512x512.png b/src/rustacean/rustacean_512x512.png new file mode 100644 index 0000000..d57fd49 Binary files /dev/null and b/src/rustacean/rustacean_512x512.png differ diff --git a/src/rustacean/rustacean_64x64.png b/src/rustacean/rustacean_64x64.png new file mode 100644 index 0000000..a954e36 Binary files /dev/null and b/src/rustacean/rustacean_64x64.png differ