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

Incorrect image size #22

Open
duckzland opened this issue Dec 13, 2022 · 0 comments
Open

Incorrect image size #22

duckzland opened this issue Dec 13, 2022 · 0 comments

Comments

@duckzland
Copy link

After following the instructions posted at this site:

  1. Make sure that the source is 512x512:
cd ~/solseum-nft-generator/input/assets

find . -name "*.png" -exec file {} + | more

./6-patches/10-patched_right.png:     PNG image data, 512 x 512, 8-bit/color RGBA, non-interlaced
./6-patches/75-patched_both.png:      PNG image data, 512 x 512, 8-bit/color RGBA, non-interlaced
./6-patches/10-patched_left.png:      PNG image data, 512 x 512, 8-bit/color RGBA, non-interlaced
./6-patches/5-no_patched.png:         PNG image data, 512 x 512, 8-bit/color RGBA, non-interlaced
.....

  1. Fire the build command:
python3 main.py -g 10000 -p 500 -w 1000 -r 1
  1. Check the results:
cd ~/solseum-nft-generator/output/nfts/public_mint_assets/

find . -name "*.png" -exec file {} + | more

./88.png:  PNG image data, 1600 x 1600, 8-bit/color RGBA, non-interlaced
./118.png: PNG image data, 1600 x 1600, 8-bit/color RGBA, non-interlaced
./54.png:  PNG image data, 1600 x 1600, 8-bit/color RGBA, non-interlaced
./14.png:  PNG image data, 1600 x 1600, 8-bit/color RGBA, non-interlaced
./109.png: PNG image data, 1600 x 1600, 8-bit/color RGBA, non-interlaced
./200.png: PNG image data, 1600 x 1600, 8-bit/color RGBA, non-interlaced
.....

The images size is 1600x1600 instead of 512x512..
 Python problem or need extra configuration to force build 512x512 image?


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant