Search found 2 matches

by Fenriss
2017-06-27T13:36:16-07:00
Forum: Magick.NET
Topic: windows bitmap with alpha
Replies: 3
Views: 5858

Re: windows bitmap with alpha

Stupid me, didn't try the Write method with no format argument. Works like a charm! However, although I forgot to mention this requirement explicitely, using (MagickImage bitmap = new MagickImage(MagickColor.FromRgb(0, 0, 0), outputImageWidth, outputImageWidth)) { bitmap.Transparent(MagickColor.From...
by Fenriss
2017-06-24T04:12:51-07:00
Forum: Magick.NET
Topic: windows bitmap with alpha
Replies: 3
Views: 5858

windows bitmap with alpha

I had a hard time creating a 32bit rgba bitmap with Magick.NET-Q16-AnyCPU / 7.0.0.0 which i got via visual studio 2017 nuget manager. Trying to create an image with var bitmap = new MagickImage(MagickColor.FromRgba(0, 0, 0, 255), size, size); somehow disabled the alpha channel, but var bitmap = new ...