Skip to content

Commit

Permalink
ASSET-41 Enhance the image quality
Browse files Browse the repository at this point in the history
Signed-off-by: jormal <jormal@naver.com>
  • Loading branch information
jormal committed Sep 25, 2024
1 parent b06034f commit fb6e3e1
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
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.
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.

0 comments on commit fb6e3e1

Please sign in to comment.