Search found 2 matches

by Hong
2018-07-14T03:53:02-07:00
Forum: Magick.NET
Topic: How to create MagickImage from a pixel array
Replies: 2
Views: 9881

Re: How to create MagickImage from a pixel array

Thanks a lot. I apparently installed a wrong package. More importantly, I could not find the documentation that is right there as the first folder of the github home page of Magick.NET.
All clear now.
by Hong
2018-07-13T17:02:06-07:00
Forum: Magick.NET
Topic: How to create MagickImage from a pixel array
Replies: 2
Views: 9881

How to create MagickImage from a pixel array

I am sorry for this rudimentary question. I am new to ImageMagick. Here is my code: MagickReadSettings mr = new MagickReadSettings(); mr.ColorType = ColorType.TrueColor; mr.Width = iWidth; mr.Height = 1; var image = new MagickImage(abPixels, mr); abPixels is iWidth*1*3 byte array (i.e. three bytes f...