Skip to content

Commit

Permalink
Add export of the generic logo to PNG (#19)
Browse files Browse the repository at this point in the history
Height of 75 allows the logo to fit in installer at width of 640 with margins that fit branding standards.
  • Loading branch information
sciencewhiz authored Aug 31, 2024
1 parent bbc8fe9 commit f14b89e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion export.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main():

print(" done.")

# PNG rasterizations
# PNG icon rasterizations
subprocess.run(
[
"./rasterize.py",
Expand All @@ -45,6 +45,20 @@ def main():
]
)

# PNG generic rasterizations
subprocess.run(
[
"./rasterize.py",
"--svgs",
"export/svg/wpilib-generic.svg",
"--raster-extension",
"png",
"--raster-sizes",
"75",
"128",
]
)

# ICO rasterizations
subprocess.run(
[
Expand Down
Binary file added export/png/wpilib-generic-128.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 export/png/wpilib-generic-75.png
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 f14b89e

Please sign in to comment.