Add support for Sixel (take 2)#136
Merged
MasonProtter merged 11 commits intoJuliaTesting:masterfrom Nov 10, 2025
Merged
Conversation
Member
|
Awesome work. I have invited you to the JuliaTesting org. Follow all the good practices, try and make sure you don't commit code without at least 1 person other than the author having looked at it, etc. |
oxinabox
approved these changes
Nov 10, 2025
Co-authored-by: Frames White <oxinabox@ucc.asn.au>
Closed
Collaborator
|
Awesome. Thanks! |
| backends to be installed. | ||
| Proper image formats such as `.png` are also supported for full-res image testing. If your terminal | ||
| [supports Sixel](https://www.arewesixelyet.com/), then ReferenceTests will display the full image | ||
| in your terminal using (Sixel.jl)[https://github.com/JuliaIO/Sixel.jl]: |
Collaborator
There was a problem hiding this comment.
Suggested change
| in your terminal using (Sixel.jl)[https://github.com/JuliaIO/Sixel.jl]: | |
| in your terminal using [Sixel.jl](https://github.com/JuliaIO/Sixel.jl): |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Continuation of #133
Appears to be working fine for me locally and the tests pass locally. I've changed the logic a bit so that we first check
is_sixel_supported, and if that givesfalsethen we checkBase.get_bool_env("REFERENCETESTS_FORCE_SIXEL", false)to see if the user is overriding it for e.g. tests.From @oxinabox's checklist #133 (comment):
Frames also listed
but I think this is unnecessary with my changes since I first check if
is_sixel_supportedand the environment variable is a fallback check.