Got an odd problem with IconMBS for 64bit. I’m getting icons for some folder with the following code:
if theFolder = nil then Return Nil
dim theIconM as new IconMBS(theFolder)
if theIconM = nil then Return Nil
dim theFamily as IconFamilyMBS = theIconM.IconFamily
if theFamily = Nil then Return Nil
dim theIcon as Picture
theIcon = theFamily.IconImage(16)
theIcon.Mask = theFamily.IconMask(16)
theIcon = theIcon.ScaleImageAndMaskMBS(16, 16)
Return theIcon
The result looks like this for 32bit:
For 64bit the gamma of the icons are different:
Bug or something that I need to correct?
Xojo 2017r3, macOS 10.11, MBS from 22.01.2018.