Page 1 of 1

CreateImage: optional background color

Posted: Thu Dec 22, 2011 2:35 am
by netmaestro
Currently, to create a transparent image you have to supply 32|#PB_Image_Transparent for the depth. This is not very intuitive imho and could be improved by adding one more optional parameter to CreateImage, for the background color of the coder's choice. One of these could be #PB_Image_Transparent, which I think is a much better place for it. Also, with the enhanced functionality of being able to choose any background color, we are saved lots of keystrokes with startdrawing, box, etc.

Re: CreateImage: optional background color

Posted: Thu Dec 22, 2011 4:12 am
by IdeasVacuum
A definite +1 :mrgreen: