Conversation
Owner
trackd
commented
Sep 18, 2025
- Fix gif rendering/positioning.
- Fix Sizing, rounding up Image size issues #29
- Fixes ConvertTo-Sixel fails when stdin is redirected #31
…nce and configurability - Introduced KittyImageOptions class for customizable image conversion settings. - Improved ImageToKitty methods to support advanced placement control and compression. - Enhanced image resizing logic to maintain aspect ratio and optimize for terminal display. - Added efficient data compression using ZLIB for bandwidth optimization. - Updated GIF handling to improve rendering and cursor management in terminal. - Refined compatibility checks and cursor position retrieval for better terminal support. - Improved SizeHelper methods for accurate character cell size calculations. - Added guidelines for C# development in copilot instructions.
…dling * Removed unused audio handling code from `ConvertToSixelGif`. * Cleaned up `KittyGraphics` and `Sixel` protocols for improved performance and readability. * Deleted legacy `OldSize` class and unnecessary references to `NAudio`. * better handling in GetControlSequenceResponse, ignore errors and return empty strings on redirection.
* Upgraded `SixLabors.ImageSharp` to version `3.1.11` for `net8.0` target framework. * Upgraded `SixLabors.ImageSharp` to version `2.1.11` for `net472` target framework. * Updated `System.Text.Encoding.CodePages` to version `9.0.7`.
…cking - Updated `ConvertToCharacterCells` methods to reflect sixel 6px row packing. - Improved `GetCharacterCellSize` to align height to multiples of 6 pixels. - Adjusted `GetResizedCharacterCellSize` for better aspect ratio handling and terminal constraints.
* tweak sizing math again * Updated module version in `Sixel.psd1`, `Sixel.Shared.csproj`, and `Sixel.csproj` to 0.6.0. * Updated `Roslynator.Analyzers` and `Roslynator.CodeFixes` package versions. * Adjusted test expectations for `ConvertTo-SixelGif` to reflect new width and height.
* Updated the sizing logic to ensure that zero dimensions are not passed to the resizer. * This change aligns the behavior with Sixel/Blocks, improving compatibility and preventing potential errors.
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.