-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Replace FT2Image by plain numpy arrays. #30044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Failures look related and real, but I have no good guess as to why not on osx. |
fc3e947
to
c69331b
Compare
I forgot to zero-initialize the FT2Image. Fixed. |
If we end up doing #30059, does that mean this PR is also not necessary (other than applying a deprecation, probably)? |
Indeed, but I didn't remove this PR as 1) the deprecation will still be needed anyways, and 2) it's a much simpler PR, which can hopefully get in faster if #30059 gets stalled. |
FT2Image predates numpy, but we don't really need to maintain our own 2D buffer class nowadays.
PR summary
PR checklist