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

pix = page.get_pixmap(matrix=matrix, clip=rect) recommend to modify function get_pixmap #3468

Closed
Smonkey123 opened this issue May 13, 2024 · 1 comment
Labels
enhancement wontfix no intention to resolve

Comments

@Smonkey123
Copy link

Is your feature request related to a problem? Please describe.
When I used pix = page.get_pixmap(matrix=matrix, clip=rect), I found:
This function always performs the image cutting (clip) first, and then performs the matrix transformation, which may be in reverse order, should you perform the image transformation before performing the cutting?

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
Are there several options for how your request could be met?

Additional context
Add any other context or screenshots about the feature request here.

@JorjMcKie
Copy link
Collaborator

The design has been chosen with due consideration: in this way only necessary data will submitted to any desired transformations, reducing memory requirements.

You can always create sub-pixmaps from a pixmap, so you can first transform and then extract a subset from the result.

@JorjMcKie JorjMcKie added the wontfix no intention to resolve label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement wontfix no intention to resolve
Projects
None yet
Development

No branches or pull requests

2 participants