NFT project image stacking transparency issue
Budget: £20 – £250 GBP
This NFT project stacks multiple images to produce three images at the end. Though the code generally works fine there is an issue with the edges and transparancy of some of the images.
an example of the final three images generated for each NFT are attached (20, 20_a and 20_b).
You can see the code in nft.py and config.py the png without trailing letter is the full image, the _a image without the score system and the _b one without the score system and certain traits.
I think this is due to an issue highlighted in this thread in stack overflow: https://stackoverflow.com/questions/5324647/how-to-merge-a-transparent-png-image-with-another-image-using-pil
I think that to resolve this will involve changing something from lines 76 to 86 in the nft.py file using Compositing image using Image.alpha_composite?
I need someone to help me generate the final images without this transparancy and image outline issue.
It should be a simple change for someone in the know. Send me a message if you can help.
Regards,
an example of the final three images generated for each NFT are attached (20, 20_a and 20_b).
You can see the code in nft.py and config.py the png without trailing letter is the full image, the _a image without the score system and the _b one without the score system and certain traits.
I think this is due to an issue highlighted in this thread in stack overflow: https://stackoverflow.com/questions/5324647/how-to-merge-a-transparent-png-image-with-another-image-using-pil
I think that to resolve this will involve changing something from lines 76 to 86 in the nft.py file using Compositing image using Image.alpha_composite?
I need someone to help me generate the final images without this transparancy and image outline issue.
It should be a simple change for someone in the know. Send me a message if you can help.
Regards,