Is there a way to access juce::imageToNSImage?

It seems it is defined in some mac specific juce header file, and not declared static. I tried it declaring it as extern in my sources, but it seems i cannot call it. Why those utilities are not public ?

1 Like

found this in the headers:

 #include "native/juce_mac_CoreGraphicsHelpers.h"
 #include "native/juce_mac_CoreGraphicsContext.h"

does it mean that i can freely define JUCE_GRAPHICS_INCLUDE_COREGRAPHICS_HELPERS in my code to get it exposed ?

That’s me being silly. Sorry for the confusion :smiley: