PureBasic Forum
https://www.purebasic.fr/english/

CreateImage() Depth Parameter Fallback
https://www.purebasic.fr/english/viewtopic.php?f=4&t=70244
Page 1 of 1

Author:  nco2k [ Thu Feb 22, 2018 2:35 am ]
Post subject:  CreateImage() Depth Parameter Fallback

not really a bug, but specyfing a depth smaller than 24, will fall back to 24, and the image will be successfully created. specyfing a depth between 25-31 or larger than 32, will result in a failure. it would be nice to have some consistency here. either only allow 24 and 32, and let the function fail with every other value, or always fall back to 24, no matter what value you use.

c ya,
nco2k

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/