Search found 75 matches

by indiego
2010-11-01T08:55:30-07:00
Forum: Users
Topic: maximum density instead of accumulation
Replies: 13
Views: 24942

Re: maximum density instead of accumulation

I am confused. I thought you wanted the opaque areas to have certain values. Sounds more like you want the alpha channel to have certain values. Could you please clarify further exactly what you are trying to do. Sorry if you are repeating but I am confused now. I thought all you wanted was the cir...
by indiego
2010-10-31T08:01:51-07:00
Forum: Users
Topic: maximum density instead of accumulation
Replies: 13
Views: 24942

Re: maximum density instead of accumulation

OK. I was able to get your images. try convert squaretlgxh.png circle3tksp.png -compose over -composite circle_over_square.png Is that what you want? Nope, that is exactly what I currently have. Check out the alpha value of the circle in the resulting picture. The white has a density of 62.5%, whic...
by indiego
2010-10-30T02:56:58-07:00
Forum: Users
Topic: maximum density instead of accumulation
Replies: 13
Views: 24942

Re: maximum density instead of accumulation

Looks like I made an unlucky decision when selecting the picture hoster. Never done this before, epic fail... :D If you can give me a tip for a better hoster I will use that one the next time. Anyhow, you can download the pictures if you save them over the right mouse button menu (save picture as...).
by indiego
2010-10-29T13:27:22-07:00
Forum: Users
Topic: maximum density instead of accumulation
Replies: 13
Views: 24942

Re: maximum density instead of accumulation

I understand that (I even got confused writing this mess down).

http://z47.img-up.net/?up=circle3tksp.png
http://f59.img-up.net/?up=squaretlgxh.png

The images are not visible as they use transparent white only, but it is possible to save them.
by indiego
2010-10-29T13:12:52-07:00
Forum: Users
Topic: How can I convert grayscale image to black&white?
Replies: 7
Views: 17319

Re: How can I convert grayscale image to black&white?

This is really not easy. I tested some more and got an indexed 2 colored image with

-type bilevel -define png:color-type=3

This time tested with gimp. Sorry for all the wrong solutions, but I'm a IM beginner. :?
by indiego
2010-10-29T12:50:56-07:00
Forum: Users
Topic: How can I convert grayscale image to black&white?
Replies: 7
Views: 17319

Re: How can I convert grayscale image to black&white?

Sorry, again grayscale (wrong color-type number). This should work (hopefully) :D

-type Palette -define png:color-type=3 -define png:bit-depths=1

BTW: there is a typo in

http://www.imagemagick.org/Usage/formats/#png_write

bit-depth instead of bit-depths
by indiego
2010-10-29T12:35:16-07:00
Forum: Users
Topic: How can I convert grayscale image to black&white?
Replies: 7
Views: 17319

Re: How can I convert grayscale image to black&white?

You are right. How about

-type Palette -depth 1 -define png:color-type=0
by indiego
2010-10-29T10:59:49-07:00
Forum: Users
Topic: maximum density instead of accumulation
Replies: 13
Views: 24942

Re: maximum density instead of accumulation

Thanks for the fast reply. I tried it with my example pictures and got unwanted side effect. I have two pictures. picture A with a circle in color rgba(255,255,255,127) and picture B fully painted in rgba(255,255,255,63). After combining them I want rgba(255,255,255,127) for the circle area and rgba...
by indiego
2010-10-29T08:33:29-07:00
Forum: Users
Topic: Magick++: Adding More Space to the Image
Replies: 4
Views: 10358

Re: Magick++: Adding More Space to the Image

What Magick++ function to call to increase the size of the original image? If I call Image::resize(Geometry), I increase the imagesize, but I scale all its content as well (tiles within it). That is wrong. I need something that adds more space to the bottom of the canvas image, but does scale/modif...
by indiego
2010-10-29T08:17:33-07:00
Forum: Users
Topic: How can I convert grayscale image to black&white?
Replies: 7
Views: 17319

Re: How can I conver grayscale image to black&white?

Hello, In theory -depth 1 or -colors 2 should work, but after converting the image (png file) I check it with Gimp and it says, it is grayscale, not indexed mode. So -- how can I convert it to black&white? Using IM of course, not Gimp :-). Cheers, try -type GrayScale -depth 1 Works for my png g...
by indiego
2010-10-29T01:43:30-07:00
Forum: Users
Topic: maximum density instead of accumulation
Replies: 13
Views: 24942

maximum density instead of accumulation

Hi, I compose a semitransparent graphic containing all the light effects. All subgraphics use pure white with varying density values. My problem now is that I want no accumulation of the density values in the overlaping areas. What I need instead is the maximal density value. Just an example to make...
by indiego
2010-10-16T12:09:27-07:00
Forum: Users
Topic: append problem with more than 9 files
Replies: 7
Views: 15239

Re: append problem with more than 9 files

We have a bingo :D

convert box%d.png[1-12] +append allboxes.png

works here! I have to check the used index, but it should be no problem, as I create (and delete) all temporay box pictures at runtime.

Many thanks to both of you!!
by indiego
2010-10-16T11:15:55-07:00
Forum: Users
Topic: append problem with more than 9 files
Replies: 7
Views: 15239

Re: append problem with more than 9 files

What are your actual file names? PNG does not support multiple frames. So you need to do something like what el_supremo suggested with the right frame indicators on the wildcard numbering for your images, if they are named appropriately. I tried to use "box[10-21].png" instead, but got th...
by indiego
2010-10-16T09:32:33-07:00
Forum: Users
Topic: append problem with more than 9 files
Replies: 7
Views: 15239

Re: append problem with more than 9 files

Try this: convert box%2d.png[1-12] +append allboxes.png Pete $ convert box%2d.png[0-12] +append text.png convert.exe: unable to open image `box%2d.png': No such file or directory @ error/blob.c/OpenBlob/2572. convert.exe: unable to open file `box%2d.png' @ error/png.c/ReadPNGImage/3138. convert.exe...
by indiego
2010-10-16T06:52:31-07:00
Forum: Users
Topic: append problem with more than 9 files
Replies: 7
Views: 15239

append problem with more than 9 files

Hi,

I use

convert box[1-12].png +append allboxes.png

to append several boxes to a single picture. Sadly the result contains only the boxes 10 to 12. Am I missing something here?
(ImageMagick-6.6.5-Q16-windows on Vista Pro 64bit)

Peter