Quantcast
Channel: magick Discussions Rss Feed
Browsing all 3693 articles
Browse latest View live
↧

New Post: Annotating Images - Labeling Below (or Above) an Image

You can either use the Annotate method of MagickImage or 'read' the label and append it to your image. Below are two examples of how you could do this:// Fixed label heightusing (MagickImage image =...

View Article


New Post: How to Change the color of each pixel in a image

Hi, I also need to change pixel by pixel value, but applying the Write method to the WritablePixelCollection does not work. By that, i mean the final picture is the same as the original. Picking up the...

View Article


New Post: How to Change the color of each pixel in a image

I did not notice it in the previous post but you are only modifying the pixel and not the pixel of the image. The pixel has no reference to the WritablePixelCollection. This choice was made because you...

View Article

New Post: How to Change the color of each pixel in a image

Awesome! Clear as water. Many Thanks for your quick reply!

View Article

New Post: How to Change the color of each pixel in a image

I just committed a patch so that you won't need to call 'writablePixels.Set' in the next release of Magick.NET.

View Article


New Post: cmyk image with only tones of black color

I want to draw rectangles and texts with Magick.net lib over a cmyk image which has only black color values. I don't want cyan,magenta and yellow color values on final image per black only printing...

View Article

New Post: cmyk image with only tones of black color

Are you talking about having a grayscale image as the result? You could set the ColorType of the image to Grayscale.

View Article

New Post: cmyk image with only tones of black color

I was already on grayscale too and it worked. I also wonder if setting c, m and y channels to Quantum.Max with EvaluationOperator would generate same result without changing color type to grayscale....

View Article


New Post: Annotating Images - Labeling Below (or Above) an Image

Thank you very much for your answer. I have used the second approach and it does what I exactly need.

View Article


New Post: cmyk image with only tones of black color

You could set the values to zero if you want to keep a CMYK image but I am not sure if that would create the same result. You can also set your image to Grayscale and then back to TrueColor right...

View Article

New Post: cmyk image with only tones of black color

But when a ColorCMYK is created from a Color.Cyan, its c value is 0, which should be the max value for cyan. I am a little bit confused here.

View Article

New Post: cmyk image with only tones of black color

Color.Cyan is a RGB color (#00FFFF). There is no conversion from RGB to CMYK when you assign Color.Cyan to a ColorCMYK. You should use the constructor of ColorCMYK that allows you to specify the values...

View Article

New Post: cmyk image with only tones of black color

So, how could i create a cmyk color from named rgb colors(or rgb color strings formatted by #) easily.

View Article


New Post: Arabic Annotation in an Image - Disconnected Letters

I am trying to annotate an image with Arabic text, but unfortunately, the letters are shown disconnected. I tried changing the text encoding, but the result does not change. Also, the text direction...

View Article

New Post: cmyk image with only tones of black color

The named colors only work with RGB colors.

View Article


New Post: Arabic Annotation in an Image - Disconnected Letters

It looks like the normal font render engine does not support this. You could use Pango for this: MagickImage label = new MagickImage(); label.BackgroundColor = System.Drawing.Color.Black;...

View Article

New Post: Best fit label

Single line text is not best fitted when read("label:...") (fontpointsize has its default value 0 and not changed) is used to render text centered on an image, there are a lot of spaces at left, right,...

View Article


New Post: Best fit label

Can you post a code example also? I don't understand what you are asking me.

View Article

New Post: Best fit label

So, i have the following code, but the bounding box loop in CalculateFontPointSize iterates generally 7-8 times(may be less may be more) to find best font size so its too slow for big images. I am...

View Article

New Post: Best fit label

You can let ImageMagick calculate the size for you if you specify the width and height when you read the label.var imgLabel = new MagickImage(); imgLabel.Font = "Arial"; imgLabel.BackgroundColor =...

View Article
Browsing all 3693 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>