Search found 22 matches

by blurymind
2016-07-29T07:14:01-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

hi, thank you for sharing these. Glad to see IM getting better at this type of thing!! :)
by blurymind
2016-07-24T17:01:09-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

You have to be using IM 7 and then there is a different syntax that needs to be used. In IM 7, you can do magick image1 -set option:mysize "%wx%h" image2 image3 ... imageN -resize "%[mysize]" result.png You cannot do this in IM 6. You still have not provided your IM version! This command :)
by blurymind
2016-07-24T16:13:48-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

Its neat that imagemagick 7 has that command - it would be even better if it can also name the end files properly
by blurymind
2016-07-24T11:53:09-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

My solution was to first get the image size by using
convert image -format "%w x %h" info:

Then resizing with mogrify. I however couldnt get it to do it in a single command :(

I am new to nesting commands in imagemagick - thus why i needed help for the channel mask syntax
by blurymind
2016-07-24T07:50:33-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

Nevermind, I found another solution :)
by blurymind
2016-07-24T03:24:35-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

Can mogrify extract the size of the first image as well? I've been using it in other cases too btw
by blurymind
2016-07-23T19:38:33-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

@fmw42 How do you also tell the result images to have the name of their target counterparts? Yes, I want to overwrite the originals
by blurymind
2016-07-23T18:21:51-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

Ok It worked after I removed the '...' and 'imageN'
by blurymind
2016-07-23T18:20:27-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

I still get errors and no result unfortunately : magick out.png -set option:mysize "%wx%h" b.png 2m.png ... imageN -resize "%[mysize]" result.png magick: unable to open image '...': Permission denied @ error/blob.c/OpenBlob/2695. magick: no decode delegate for this image format `' @ error/constitute ...
by blurymind
2016-07-23T18:16:57-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

I am Using IM 7 ! Sorry :)
by blurymind
2016-07-23T17:41:06-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

@fmw42 How do you do it in one command line? The example code gives me errors and nothing happens to the images >convert out.png -format "%wx%h" info: convert b.png 2m.png ... imageN -resize WxH resultimage convert: no decode delegate for this image format `INFO' @ error/constitute.c/Re adImage/508 ...
by blurymind
2016-07-23T17:13:01-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

@snibgo - your solution is so far the best one! It seems to resize the three images to the size of the mask.

Is there a function in imagemagick's arsenal to resize a number of images to the size of a target image? Without the need to encompass it in a script.
by blurymind
2016-07-23T16:35:26-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

Ah I see. This is good to know as a precaution. I guess at this point I am more interested in using the size of image one as target size for images 2,3,4 and so on - I can use that as a common operation to make images the same size before doing operations that wouldnt work with them being different ...
by blurymind
2016-07-23T15:33:18-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

I'm on windows, but also linux. The images have the same aspect ratio, but different sizes.

I guess this time I am looking for a separate command that takes the first specified image's pixel size and sets all the next images to that size
by blurymind
2016-07-23T15:02:19-07:00
Forum: Users
Topic: Composit 3 images using a single RGB mask
Replies: 42
Views: 11388

Re: Composit 3 images using a single RGB mask

Thank you guys - I learned a couple of valuable tricks in imagemagick.