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
'iterm2' render style improvements #55
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add: Added `JPEG_QUALITY` and `READ_FROM_FILE` attributes to `ITerm2Image`. - JPEG encoding quality can be set. - Change: JPEG encoding is now optional. - Disabled by default. - Change: Reading directly from file is now optional. - Enabled by default.
AnonymouX47
added
documentation
Improvements or additions to documentation
enhancement
New feature / Improvement suggestion or request
lib
Related to the library (Not to be used anymore)
cli
Related to the image viewer's CLI (Not to be used anymore)
labels
Jun 19, 2022
- Add: Added `--itjq/--iterm2-jpeg-quality` and `--itnrff/iterm2-no-read-from-file` style-specific CL options. - Add: Added footnotes for the new options.
- Add: Added `compress` style arg. - Add: Added *compress* parameter to `ITerm2Image.draw()`. - Add: Added style-specific format field for `compress` style arg. - Add: Updated docstrings.
- Fix: Corrected typo in `--iterm2-jpeg-quality` footnote. - Add: Added `--itc/--iterm2-compress` CL option. - Add: Included `compress` field in the 'iterm2' style-specific format spec for the TUI.
AnonymouX47
force-pushed
the
iterm2-updates
branch
from
June 20, 2022 20:58
74141a3
to
d123d99
Compare
- Fix: `ITerm2Image.is_supported()` no longer returns `None`.
AnonymouX47
force-pushed
the
iterm2-updates
branch
from
June 21, 2022 13:27
71d6531
to
dd370dc
Compare
- Add: Added tests for the READ_FROM_FILE optimization of the 'iterm2' render style. - Change: Updated `decode_image()`. - Change: Removed redundant code.
- Add: Added tests for 'iterm2' render style JPEG format optimization. - Change: Updated image size tests. - Change: Removed redundant code.
AnonymouX47
force-pushed
the
iterm2-updates
branch
2 times, most recently
from
June 22, 2022 20:38
43b2c2b
to
6fa8131
Compare
- Fix: Fixed native animation of PIL-image-sourced images. - Now correctly detects if an image file is accessible. - Add: Added tests for native animation. - Add: Added 'test/images/elephant.png'.
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cli
Related to the image viewer's CLI (Not to be used anymore)
documentation
Improvements or additions to documentation
enhancement
New feature / Improvement suggestion or request
iterm2
Related to the 'iterm2' render style
lib
Related to the library (Not to be used anymore)
test
Related to the test suite
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #48
JPEG_QUALITY
andREAD_FROM_FILE
attributes toITerm2Image
.--itjq/--iterm2-jpeg-quality
and--itnrff/iterm2-no-read-from-file
style-specific CL options.compress
style arg and style-specific format spec field.--itc/--iterm2-compress
CL option.ITerm2Image.is_supported()
, no longer returnsNone
.