Skip to content

Set every Pixel's Color Component #2421

Answered by antonfirsov
brianmed asked this question in Q&A
Discussion options

You must be logged in to vote

Considering that your image needs to be fully opaque, can't you use Rgb24 or Bgr24 ? Otherwise ProcessPixelRows is the fastest, while ProcessPixelRowsAsVector4 is a convenient pixel-agnostic way to do it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@brianmed
Comment options

@JimBobSquarePants
Comment options

Answer selected by brianmed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants