-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
faster cairo paint: avoid copying pixels whenever possible #4270
Comments
since create_for_data won't do any byte-swapping
also support more pixel formats and pad output with zeroes when the rowstride is larger than the input
With the latest test, we report the performance of each call to
So we should really make sure that the cairo backend tells the decoder modules to provide |
and simplify output rgb format selection
Changing the decoders to prefer
|
We can use ImageSurface.create_for_data if the pixel data stride satisfies stride_for_width
Another undocumented constraint is that the memory must not be read-only..
The text was updated successfully, but these errors were encountered: