Skip to content

Commit

Permalink
[ASSET-41] Update Polygon network image (#46)
Browse files Browse the repository at this point in the history
* ASSET-41 Update polygon reference keys

Signed-off-by: jormal <[email protected]>

* ASSET-41 Update polygon network image

Signed-off-by: jormal <[email protected]>

* ASSET-41 Update version

Signed-off-by: jormal <[email protected]>

* ASSET-41 Enhance the image quality

Signed-off-by: jormal <[email protected]>

---------

Signed-off-by: jormal <[email protected]>
  • Loading branch information
jormal authored Sep 25, 2024
1 parent 0e2474a commit 5c520b3
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 20 deletions.
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.

0 comments on commit 5c520b3

Please sign in to comment.