generative-art-nft
generative-art-nft copied to clipboard
Code creates silhouette instead of the image
Generating the images create some of the images as silhouettes of the layered images instead of the image with all the layers. How is that possible ? How can one fix this ?
This is a common issue. Make sure your trait images satisfy the following:
- They are all of type PNG.
- They have the same dimension and resolution.
- Every trait image should have a transparent background apart from the background layer (or layer 1).
Thanks ! They all have the above. If I remove the background layer than it works but with the background layer it seems like it is putting it sometimes on the top with all the layers behind somehow and creating a silhouette not sure why.
Did you make sure the background layer is the first layer (i.e the bottom most layer)?