-
Notifications
You must be signed in to change notification settings - Fork 1
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
Crop offset with or without bbox argument #1
Crop offset with or without bbox argument #1
Conversation
The offset is just used to adjust the bbox coordinates; it is equal to the (Windows) screen coordinates of the top-left pixel, which may be negative. It is not used to crop the image by itself. The correct bbox for the whole screen is therefore Perhaps this confusion is caused by the name |
Thanks for your explanation |
Corrected short and long range checks
Changed default offset for Exif
Updated documentation; Simplified code
Fixed unexpected indentation
Save in ICNS format to support all operating systems
Added test and flush file pointer
Improved batch processing example in tutorial
CI: Add a Cygwin run to GitHub Actions There are still a few things that are weird, but this looks much better than what I have now.
* Removed unused import * Restored existing checks * Restored coerce_e, _E and data property * Deprecated coerce_e Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Only test alpha channel values
…in-finding-new-size Round position in pad()
Improved palette handling in ImageOps
Call init() if mimetype is not found with preinit()
Added custom before_install to temporarily pin wheel to 0.31.1
_decoder.get_next() may return None
Last trailer comment has priority
Do not assign new fp attribute to image when closing
Add tests for glyph alpha blending
Test error is raised without LOAD_TRUNCATED_IMAGES
Do not import numpy.typing unless TYPE_CHECKING
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Renamed variable for first part of splitext to root
For python-pillow#3950
Correct me if I'm wrong - if you're going to crop the offset from the image, then it would seem that you should crop it whether or not there is a
bbox
argument given by the user.