Change transparent .svg to opaque .png (#11084)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
This commit is contained in:
@ -11,11 +11,11 @@ output_dir=static/img
|
||||
mkdir -p "$output_dir"
|
||||
|
||||
while read -r bob_file; do
|
||||
svg_file=$(basename "${bob_file%.*}".svg)
|
||||
svgbob "$bob_file" --output "$output_dir/$svg_file"
|
||||
out_file=$(basename "${bob_file%.*}".svg)
|
||||
svgbob "$bob_file" --output "$output_dir/$out_file"
|
||||
done < <(find art/*.bob)
|
||||
|
||||
while read -r msc_file; do
|
||||
svg_file=$(basename "${msc_file%.*}".svg)
|
||||
mscgen -T svg -o "$output_dir/$svg_file" -i "$msc_file"
|
||||
out_file=$(basename "${msc_file%.*}".png)
|
||||
mscgen -T png -o "$output_dir/$out_file" -i "$msc_file"
|
||||
done < <(find art/*.msc)
|
||||
|
Reference in New Issue
Block a user