Skip to content

Remove use of Cursor in TIFF color conversion#2824

Merged
197g merged 1 commit intoimage-rs:mainfrom
RunDevelopment:tiff-rm-weird-cursor
Mar 5, 2026
Merged

Remove use of Cursor in TIFF color conversion#2824
197g merged 1 commit intoimage-rs:mainfrom
RunDevelopment:tiff-rm-weird-cursor

Conversation

@RunDevelopment
Copy link
Member

Good to know I wasn't the only one that thought using Cursor in TIFF's color conversion hot loop was weird.

This PR removes the use of Cursor and writes to the output byte slice directly. Should be faster too.

@197g 197g merged commit b8c8608 into image-rs:main Mar 5, 2026
31 checks passed
@RunDevelopment RunDevelopment deleted the tiff-rm-weird-cursor branch March 5, 2026 10:43
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.

2 participants