Whenever using the binary on an image that already has shadow, it will add more shadow to it regardless of it already having shadow.
From the early testing and creation this was already known as it would always add a colored background on the back. Later add the amount of blur creating the shadow.
As this is a binary usage only issue, this'll be put in the backlog for later fixing.
Shadow blur algorithm has to be changed:
Currently it adds a background based on the image size and blurs it.
It should be changed to take transparency/blur in account and add based on the image size - transparency/blur.
Now to make it complete if it is a transparent picture it doesn't take empty space in account.
Which it should as well, example "transparent picture of a person" won't work as it will take the full height and width. It should only go around the actual border pixels of the person itself.
Bin won't give output unless --image is provided. line 59
Ignores passed alpha value of shadow color argument
Whenever using the binary on an image that already has shadow, it will add more shadow to it regardless of it already having shadow.
From the early testing and creation this was already known as it would always add a colored background on the back. Later add the amount of blur creating the shadow.
As this is a binary usage only issue, this'll be put in the backlog for later fixing.
Shadow blur algorithm has to be changed:
- [ ] Currently it adds a background based on the image size and blurs it.
- [ ] It should be changed to take transparency/blur in account and add based on the image size - transparency/blur.
- [ ] Now to make it complete if it is a transparent picture it doesn't take empty space in account.
- [ ] Which it should as well, example "transparent picture of a person" won't work as it will take the full height and width. It should only go around the actual border pixels of the person itself.
- [ ] Bin won't give output unless --image is provided. line 59
- [ ] Ignores passed alpha value of shadow color argument
Inorishio
added this to the Zshell board project 2026-05-28 23:14:07 +02:00
Inorishio
added the bug label 2026-05-28 23:14:31 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Whenever using the binary on an image that already has shadow, it will add more shadow to it regardless of it already having shadow.
From the early testing and creation this was already known as it would always add a colored background on the back. Later add the amount of blur creating the shadow.
As this is a binary usage only issue, this'll be put in the backlog for later fixing.
Shadow blur algorithm has to be changed: