Skip to content

Conversation

@radarhere
Copy link

Two suggestions for python-pillow#7696.

  • Moved code into sequential order, so that the if mode == "F" and ix == 2: block occurs with the rest of the ix == 2 code.
  • Only set row_order when needed

@nulano
Copy link
Owner

nulano commented Jan 7, 2024

Looks good, but I think I'd rather wait for python-pillow#7698 to be reviewed first.

@radarhere
Copy link
Author

I've incorporated this into python-pillow#7698 instead.

@radarhere radarhere closed this Jan 9, 2024
@radarhere radarhere deleted the pfm branch January 9, 2024 01:51
radarhere added a commit that referenced this pull request Jun 10, 2025
Mark the image read-only in the C layer if it's created from a read only buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants