Just make tests with this function. Seems that Apple did not keep his promise to support 32-bit applications fully in macOS 10.13. ColorSyncDeviceSetCustomProfiles function throws debug output: "CGSSetDisplayColorSpaceAndTransfer(0x2b3c558c, "profile") failed" and not apply profile normally. And if you look in CGSSetDisplayColorSpaceAndTransfer implementation it has output about not supporting 32-bit version. Same code works fine in 64-bit application.
Hello Graeme,
Thank you for hint.
Does any documentation to new ColorSync functions exists somewhere in universe? Or we need to rely on headers comments?
Thank you again.
Best regards, Vitaly Bondar
My question is - what is the replacement for the function CMSetProfileByAVID in MacOS 10.13.
AFAIK the replacement is ColorSyncDeviceSetCustomProfiles().
Graeme Gill. _______________________________________________ Do not post admin requests to the list. They will be ignored. Colorsync-users mailing list (Colorsync-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/colorsync-users/vitaly%40qubyx.com
This email sent to vitaly@qubyx.com
-- <http://www.qubyx.com/> /Vitaly Bondar / /Chief Developer / Tel: +1 518 618 1012 ext. 44 vitaly@qubyx.com <mailto:vitaly@qubyx.com>