Search found 23440 matches

by fmw42
2018-07-20T21:40:24-07:00
Forum: Users
Topic: exist any way of prevent or remove this error when I use connected components appears a little blob around image?
Replies: 2
Views: 37

Re: exist any way of prevent or remove this error when I use connected components appears a little blob around image?

I do not understand your question. What blob? Do not save to JPG. It will change colors due to compressions artifacts. With only 16 colors, you should save to GIF. Try convert image.png -define connected-components:area-threshold=60 -define connected-components:mean-color=true -connected-components ...
by fmw42
2018-07-20T20:02:08-07:00
Forum: Users
Topic: Help with transparency to a newbie
Replies: 9
Views: 218

Re: Help with transparency to a newbie

I cannot read your screen snap very well. Did you use

rgbo(0,0,0,0.7) with an O after rgb

or

rgba(0,0,0.0.7) with an A after rgb

O is incorrect. A is correct.
by fmw42
2018-07-20T19:52:38-07:00
Forum: Users
Topic: Help with transparency to a newbie
Replies: 9
Views: 218

Re: Help with transparency to a newbie

hrqmonteiro wrote:
2018-07-20T19:50:21-07:00
Man i just wanted it to match the colors... wouldnt it be possible?...
Are you sure you know exactly what the color is that you want to match?
by fmw42
2018-07-20T19:52:11-07:00
Forum: Users
Topic: Help with transparency to a newbie
Replies: 9
Views: 218

Re: Help with transparency to a newbie

If the background is not transparent enough, then change to "rgba(0,0,0,0.3)" Note that if you are saving to JPG, JPG does not support transparency. You will need to save to PNG or TIFF. Try these two simple commands. Do either give the background you want? convert rose: -gravity center -background ...
by fmw42
2018-07-20T19:36:34-07:00
Forum: Users
Topic: Help with transparency to a newbie
Replies: 9
Views: 218

Re: Help with transparency to a newbie

Can't someone just say to me which line i write after the background to make it 70% transparent, please? what i wanted to do is to set the image to match my terminal, which uses the color #000 with 70% opacity Hex #000 is black and the same as rgb(0,0,0). But you want to have it with 70% opacity. "...
by fmw42
2018-07-20T19:12:46-07:00
Forum: Users
Topic: Help with transparency to a newbie
Replies: 9
Views: 218

Re: Help with transparency to a newbie

You can specify the color as hex with alpha values by adding two more characters or better you can use rgba(r,g,b,a) values in your command. See http://www.imagemagick.org/script/color.php ________________ Please, always provide your IM version and platform when asking questions, since syntax may di...
by fmw42
2018-07-20T15:08:37-07:00
Forum: Users
Topic: convert & pango - "couldn't load font"
Replies: 22
Views: 1061

Re: convert & pango - "couldn't load font"

I am just asking you to tell me what the suffix is on the fonts that fail. Do all the the fonts with a same suffix fail?
by fmw42
2018-07-20T14:35:28-07:00
Forum: Users
Topic: convert & pango - "couldn't load font"
Replies: 22
Views: 1061

Re: convert & pango - "couldn't load font"

I was asking about .ttf vs other types (suffixes). Which suffix type fails or is it font by font irrespective of the type of font?
by fmw42
2018-07-20T14:33:09-07:00
Forum: Developers
Topic: What is IM's strategy for rounding floats?
Replies: 3
Views: 123

Re: What is IM's strategy for rounding floats?

I am answering a different aspect of resizing. I am not sure how it determines the final image size. But, when resizing it does resampling to get the fractional input position and blends neighboring pixels to get the resampled (interpolated) pixel color for putting in the output at a given integer p...
by fmw42
2018-07-20T13:19:20-07:00
Forum: Users
Topic: convert & pango - "couldn't load font"
Replies: 22
Views: 1061

Re: convert & pango - "couldn't load font"

What types of fonts do not work. ImageMagick cannot use every type of font. Limitations come from either freetype or fontconfig delegate libraries. I am not sure of the limitations of PANGO. It may be restricted on the types of fonts it can use. But I am not an expert of PANGO and what fonts it can ...
by fmw42
2018-07-20T10:05:41-07:00
Forum: Users
Topic: how I could convert image to text without output name of color ?
Replies: 4
Views: 106

Re: how I could convert image to text without output name of color ?

On unix, do

Code: Select all

convert image sparse-color: | tr " " "\n"
by fmw42
2018-07-20T10:01:41-07:00
Forum: Users
Topic: convert & pango - "couldn't load font"
Replies: 22
Views: 1061

Re: convert & pango - "couldn't load font"

Have you tried adding your other fonts to the type.xml file, so that paths are not needed for them. See http://www.imagemagick.org/script/resources.php

In Unix, you can use a perl script to add all your fonts. See http://www.imagemagick.org/Usage/scripts/ and the script, imagick_type_gen
by fmw42
2018-07-20T09:57:34-07:00
Forum: Users
Topic: Does "-geometry" round non-integer args?
Replies: 1
Views: 33

Re: Does "-geometry" round non-integer args?

Looks like it rounds. I create a 2x1 black image, the a 1x1 white image and use -geometry +0.7+0. If it truncated the white would be on the left, but the white is on the right. That tells me it rounds. convert -size 2x1 xc:black -size 1x1 xc:white -geometry +0.7+0 -compose over -composite -scale 20x...
by fmw42
2018-07-20T09:53:33-07:00
Forum: Users
Topic: how I could convert image to text without output name of color ?
Replies: 4
Views: 106

Re: how I could convert image to text without output name of color ?

In place of txt: use sparse-color: convert image sparse-color: Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images. See the top-most post in this forum "IMPORTANT: Please Read This FIRST ...
by fmw42
2018-07-20T08:58:07-07:00
Forum: Developers
Topic: Are YCbCr 422/420 supported in ImageMagick?
Replies: 4
Views: 99

Re: Are YCbCr 422/420 supported in ImageMagick?

I moved your post here so that they might find it better.