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.
Search found 2 matches
- 2018-07-14T03:53:02-07:00
- Forum: Magick.NET
- Topic: How to create MagickImage from a pixel array
- Replies: 2
- Views: 11420
- 2018-07-13T17:02:06-07:00
- Forum: Magick.NET
- Topic: How to create MagickImage from a pixel array
- Replies: 2
- Views: 11420
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 ...