At 03:11 AM 6/20/2014, you wrote:
>>Sorry, this is a carry over from something else. I'm finding on OSX 10.9 that
>>especially in cases of folders, FolderItem.IconImageMBS can be pretty slow.
>>Can you comment on that - is there anything smart that could speed such stuff
>>up?
>Apple optimized something else.
>
>But you can use Cocoa classes:
>
> // get image
> dim n as NSImageMBS = NSWorkspaceMBS.iconForFile(SpecialFolder.desktop)
> // set the size we want
> n.setSize 512,512
> // make a copy as picture
> Backdrop = n.CopyPictureWithMask
>with next plugin on I will do this internally for you and use NSWorkSpace
>function.
Thanks - this works fine (even in Carbon builds), although I still have to have
the client test it for speed.
-How far back does this work - does it work in 10.4? 10.5?
-Based on what you know ("Apple optimized something else"), is this something
in 10.9 to worry about or does it go further back?
-I assume on Windows the IconImageMBS and IconMaskMBS still are valid?
Garth Hjelte
Sampler User
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info