Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ASSET-41] Update Polygon network image #46

Merged
merged 4 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.11
2.0.12
4 changes: 2 additions & 2 deletions assets/pol-0/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@
"references": [
{
"id": "coingecko",
"url": "https://www.coingecko.com/en/coins/polygon"
"url": "https://www.coingecko.com/en/coins/pol-ex-matic"
},
{
"id": "coinmarketcap",
"url": "https://coinmarketcap.com/currencies/polygon"
"url": "https://coinmarketcap.com/currencies/polygon-ecosystem-token"
}
],
"tags": [
Expand Down
4 changes: 2 additions & 2 deletions libraries/preprocess/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __convert_svg_to_png256(
overwrite: Whether to overwrite the PNG image.

Notes:
The SVG image is converted to a 256x256 PNG image with 300 DPI.
The SVG image is converted to a 256x256 PNG image with 96 DPI.
"""
png256_path = png_path or svg_path.parent.joinpath("image-256.png")
if overwrite or not os.path.isfile(png256_path):
Expand All @@ -52,7 +52,7 @@ def __convert_svg_to_png256(
write_to=str(png256_path),
output_width=256,
output_height=256,
dpi=300,
dpi=96,
scale=2,
)

Expand Down
Binary file modified networks/evm-137/image-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 modified networks/evm-137/image-256.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 modified networks/evm-137/image-32.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 modified networks/evm-137/image-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 12 additions & 6 deletions networks/evm-137/image.svg
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 networks/evm-80002/image-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 modified networks/evm-80002/image-256.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 modified networks/evm-80002/image-32.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 modified networks/evm-80002/image-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 8 additions & 9 deletions networks/evm-80002/image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading