Skip to content
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

Replace pixmap color inversion logic #4196

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Replace pixmap color inversion logic #4196

merged 1 commit into from
Jan 6, 2025

Conversation

JorjMcKie
Copy link
Collaborator

We are currently using our own code for this - which is erroneous and also is very slow (written in Python). This fix falls back to using MuPDF native functions fz_invert_pixmap and fz_invert_pixmap_rect. This obsoletes function JM_invert_pixmap_rect and significantly improves speed.

We currently use our own code for this - which is erroneous and also is very slow (written in Python).
This fix falls back to using MuPDF native functions fz_invert_pixmap and fz_invert_pixmap_rect.
This obsoletes function "JM_invert_pixmap_rect" and significantly improves speed.
@JorjMcKie JorjMcKie merged commit 5cbeb2a into main Jan 6, 2025
1 of 2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 6, 2025
@JorjMcKie JorjMcKie deleted the address-4195 branch January 6, 2025 18:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants