New Post: Lock/Unlock bits emulation
There is no such thing as PixelFormat in ImageMagick/Magick.NET. The pixels can be stored 'indexed' (with a color map) or with 8/16 bits per channel.
View ArticleNew Post: how to use distort:viewport with Magick.net
Hi, I'm trying to call a command like this using Magic.net:convert 6922044.jpg -define distort:viewport=694x720-369+791 -distort ScaleRotateTranslate "0,0 1,1 30" +repage converted.jpg I couldn't find...
View ArticleNew Post: EPS Resize Pixelated
I am getting a different image when I use the code from your first post: https://www.dropbox.com/s/iyurz1uh3cyo1c7/Magick.NET.png?dl=0.
View ArticleNew Post: Error Reading Pages as PNGs with Byte Arrays
You got the following MagickReadSettings in your example project: MagickReadSettings settings = new MagickReadSettings { Density = new PointD(150, 150), Format = MagickFormat.Png, ColorSpace =...
View ArticleNew Post: how to use distort:viewport with Magick.net
You need to set it with SetArtifact:using (MagickImage image = new MagickImage("6922044.jpg")) { image.SetArtifact("distort:viewport", "694x720-369+791");...
View ArticleNew Post: Composite Multiply Gray Scaled Images
I'm trying to mimic auto white balance part from Fred's ImageMagick script with the latest version, but the result seems to be different from expected. The mask created by composite operation is a RGB...
View ArticleNew Post: strokeColor in Magick Script
You're right, this works if i use 'fillColor' instead of 'strokeColor'. The stackoverflow is caused by 'strokeColor' inside the tag "draw", i can reproduce each time i use it. Nevertheless, my problem...
View ArticleNew Post: Channel Operations
Hi, I need to apply this formula: (blue channel - red channel) / (blue channel + red channel) to some images. The problem is that this formula ranges from -1 to 1, and i have somehow to offset this...
View ArticleNew Post: Lock/Unlock bits emulation
Thanks. I have some more questions. Could you help me?How can I convert 8-bit per channel ARGB(32bppArgb) image to 8-bit indexed(8bppIndexed) image ?There is any way to update Image DPI without...
View ArticleNew Post: Channel Operations
You cannot have out of range values. Have you tried using Fx? You can find some information about that here: http://www.imagemagick.org/script/fx.php
View ArticleNew Post: Composite Multiply Gray Scaled Images
The result image created by 6.8.x build is a gray scaled image, which is the same as convert command. The 7.0.x builds created a tinted image. Is there a new setting that I missed or is this a bug in...
View ArticleNew Post: Channel Operations
dlemstra wrote: You cannot have out of range values. Have you tried using Fx? You can find some information about that here: http://www.imagemagick.org/script/fx.php yes i did, but with the same...
View ArticleNew Post: Composite Multiply Gray Scaled Images
This could be a bug in ImageMagick 7 but might also be an intentional change. I will take a look at it this weekend.
View ArticleNew Post: Channel Operations
You might also want to take a look at the hdri build. It uses a lit of memory but it can have out of bounds values. It will be clamped when the image is written.
View ArticleNew Post: Torn Paper Edge Effect
Hoping somone can help me. I am trying to translate this bit of code found here for the torn paper edge effect. I don't quite grasp the example code they have but am hoping someone might be able to...
View ArticleNew Post: Torn Paper Edge Effect
Think I figured out what I needed to do. This gave me the effect I was looking for: Paper.Border(10); Paper.Spread(5); Paper.Blur(2, 2); Paper.Threshold(50); Paper.Transparent(new...
View ArticleNew Post: Lock/Unlock bits emulation
k0ral wrote: Thanks. I have some more questions. Could you help me?How can I convert 8-bit per channel ARGB(32bppArgb) image to 8-bit indexed(8bppIndexed) image ? There is any way to update Image DPI...
View ArticleNew Post: Lock/Unlock bits emulation
You can change the image to indexed by setting the ColorType to Palette or PaletteAlpha.You can get information about the palette with ColorMapSize and ColorMap.
View Article