Skip to content

Conversation

@trackd
Copy link
Owner

@trackd trackd commented Sep 18, 2025

trackd and others added 7 commits July 9, 2025 23:54
…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.
@trackd trackd merged commit 45c369f into main Sep 18, 2025
3 checks passed
@trackd trackd deleted the feature/elaborate-moon branch September 18, 2025 22:46
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.

ConvertTo-Sixel fails when stdin is redirected

2 participants