Comments (6)
Looks like @brettferdosi has done an amazing job reverse engineering the proper way to toggle grayscale mode, and can be found here https://github.com/brettferdosi/grayscale/blob/master/Sources/Bridge.h
Just tested it by installing his app and it worked nicely. So we might want to port over his code into this app so that grayscale-mode can run on the Apple M1 chip family. Won't have the time to do this myself but writing it here in hope that someone else can pick it up.
from grayscale-mode.
This is a bummer. Do we know what's not working with the latest M1 Mac computers?
from grayscale-mode.
Hmm, looks like the non-public C++
API we are using in the app to toggle grayscale mode doesn't work on mac computers with M1 chip. I do not have a computer with M1 to test it atm.
from grayscale-mode.
I'm guessing this is the one? https://github.com/rkbhochalya/grayscale-mode/blob/master/GrayscaleMode/grayscale.h
Where did you find that private C++ API in the first place? Maybe we can go to the docs/code you looked at and see if they updated it to work with M1 chips.
from grayscale-mode.
Can you provide the info above whenever you have some time @rkbhochalya?
from grayscale-mode.
https://gist.github.com/danielpunkass/df0d72be11b8956f2ef4f4d52cce7a41 is a very simple solution.
from grayscale-mode.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grayscale-mode.