MCPcopy Create free account
hub / github.com/HumbleUI/JWM / getICCProfile

Method getICCProfile

shared/java/Screen.java:42–48  ·  view source on GitHub ↗

Get the ICC color profile data for this screen. Currently supported on macOS and Windows. Returns null on other platforms. @return ICC profile data as byte array, or null if not available

()

Source from the content-addressed store, hash-verified

40 * @return ICC profile data as byte array, or null if not available
41 */
42 @Nullable
43 public byte[] getICCProfile() {
44 if (Platform.CURRENT == Platform.MACOS || Platform.CURRENT == Platform.WINDOWS) {
45 return _nGetICCProfile(_id);
46 }
47 return null;
48 }
49
50 @ApiStatus.Internal
51 private static native byte[] _nGetICCProfile(long screenId);

Callers

nothing calls this directly

Calls 1

_nGetICCProfileMethod · 0.95

Tested by

no test coverage detected