Skip to content

How remove alpha channel from PNG image? #1753

Answered by depler
depler asked this question in Q&A
Discussion options

You must be logged in to vote

Got it, in case if someone interested:

using var image = Image.Load("path/to/file.png");
image.Mutate(x => x.BackgroundColor(Color.Red));
image.SaveAsJpeg("path/to/file.jpg");

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JimBobSquarePants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
1 participant