Skip to content

How to multiply/upscale color depth? #1762

Answered by dlemstra
MitchelAlbertz asked this question in Help
Discussion options

You must be logged in to vote

You could use the Fx method of MagickImage for this. You can multiply the red channel like this image.Fx("r*32");

p.s. The result of GetPixels is IDisposable so you should add a using: using var pc = image.GetPixels();

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MitchelAlbertz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants