CreateImage: Back Colour: RGBA

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

CreateImage: Back Colour: RGBA

Post by IdeasVacuum »

Being able to set Create Image to 100% Transparent (#PB_Image_Transparent) is very useful, as is the alternative of being able to set the colour.

However, instead of RGB(), it would be much more useful to have RGBA() for back colour colour setting.

Benefits:

1) The amount of transparency can be controlled for any colour.
2) If the image is resized, there is no need to re-draw everything.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.