Search found 11 matches

by jamadagni
2017-11-03T22:37:27-07:00
Forum: Users
Topic: montage minimize row/column size?
Replies: 7
Views: 3633

Re: montage minimize row/column size?

Thanks for your efforts but sorry, the result is still not what is desired. If you compare to the image I posted above, you can see that in the result of your command the three columns aren't touching each other (in the bottom right which contains the widest elements). Anyhow, if there is no way to ...
by jamadagni
2017-11-03T21:17:22-07:00
Forum: Users
Topic: montage minimize row/column size?
Replies: 7
Views: 3633

Re: montage minimize row/column size?

I want the size of each tile to be that of the biggest image in its row/column, not the entire grid. See:

Image
by jamadagni
2017-11-03T09:32:26-07:00
Forum: Users
Topic: montage minimize row/column size?
Replies: 7
Views: 3633

Re: montage minimize row/column size?

Thanks for your reply. Is there some way to use convert for this then?
by jamadagni
2017-11-03T02:16:28-07:00
Forum: Users
Topic: montage minimize row/column size?
Replies: 7
Views: 3633

montage minimize row/column size?

I have nine squares of varying sizes generated by: colors=("" 4d2600 590000 730055 2c0059 000080 004d00 638000 ffaa00 323232) for x in {1..9} ; do convert -size $((40 + x * 10))x$((40 + x * 10)) xc:"#${colors[$x]}" $x.png done Now I'm trying to montage it so that there is no bord...
by jamadagni
2017-11-03T01:33:04-07:00
Forum: Users
Topic: Center image by extending only one dimension
Replies: 4
Views: 3408

Re: Center image by extending only one dimension

💐🙏 to both of you!
by jamadagni
2017-11-02T10:15:22-07:00
Forum: Users
Topic: Center image by extending only one dimension
Replies: 4
Views: 3408

Center image by extending only one dimension

I would like to know how to tell IM to extend only one dimension (X or Y as per my wish), center the image in it and fill the rest with background colour. For example: convert -size 1000x1000 xc:white rose: -gravity Center -composite out.png ...will certainly center the rose in the middle of the 100...
by jamadagni
2016-03-12T11:39:50-07:00
Forum: Users
Topic: `mogrify` unable to draw text?
Replies: 2
Views: 2124

Re: `mogrify` unable to draw text?

Thank you very much. I should have checked the man page first. Indeed if I put the file name at the end it works.
by jamadagni
2016-03-12T10:47:36-07:00
Forum: Users
Topic: `mogrify` unable to draw text?
Replies: 2
Views: 2124

`mogrify` unable to draw text?

Hello. I'm using IM 6.7.7-10 which comes with Kubuntu Trusty 64 bit. Please see the following commands entered at a terminal: convert xc:black -resize 1000x600! black.png mogrify black.png -fill white -stroke blue -font DejaVu-Sans-Book -pointsize 36 -draw 'gravity NorthEast text 0,0 "Hello&quo...
by jamadagni
2014-02-03T01:39:42-07:00
Forum: Users
Topic: making a starburst with transparent background
Replies: 0
Views: 3242

making a starburst with transparent background

Hello. I want to make the equivalent of the white/blue starburst seen at the bottom of the example page http://imagemagick.org/Usage/advanced/index.html#radial_flares but with two conditions: the background must be transparent and not black unlike in the example as seen here the square border of the...
by jamadagni
2013-12-07T23:09:41-07:00
Forum: Users
Topic: Trying to use identify to examine if an image is valid
Replies: 2
Views: 3697

Re: Trying to use identify to examine if an image is valid

Hi thanks for your reply snibgo. I found out that the problem was that I was using sh and not bash in my script. sh (which is symlinked to dash on my Ubuntu system) does not recognize the &> operator to redirect both stderr and stdout. I figured this out at unix.stackexchange . If I change the s...
by jamadagni
2013-12-07T11:36:30-07:00
Forum: Users
Topic: Trying to use identify to examine if an image is valid
Replies: 2
Views: 3697

Trying to use identify to examine if an image is valid

Hello. I tried writing something similar to the following minimal testcase to test using identify if a file (if it exists) is a valid image or not, and if yes, to move it to a particular location: #! /bin/sh ifile=input.jpg identify $ifile &> /dev/null && { echo "DEBUG: moving the j...