Skip to content

Conversation

@radarhere
Copy link
Member

Inspired by @homm's comment #7260 (comment), when converting to LA/La/PA, this sets the two middle channels to zero.

This shouldn't make any functional difference at the moment, just improving clarity, and perhaps a small improvement in speed by replacing *out++ = (UINT8)pixel with *out++ = 0.

@homm
Copy link
Member

homm commented Jul 11, 2023

I personally don't have preferences what to store in unused bytes. Also I guess performance impact should be near zero/

@radarhere radarhere closed this Apr 1, 2024
@radarhere radarhere deleted the zero branch April 1, 2024 09:49
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