It is currently Fri Jun 22, 2018 1:01 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: CreateImage() Depth Parameter Fallback
PostPosted: Thu Feb 22, 2018 2:35 am 
Offline
Addict
Addict
User avatar

Joined: Mon Sep 15, 2003 5:55 am
Posts: 1325
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

_________________
If OSVersion() = #PB_OS_Windows_ME : End : EndIf


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye