Search found 718 matches

by GeeMack
2018-11-13T18:53:00-07:00
Forum: Users
Topic: Rotation per default not around center but NorthEast corner of image
Replies: 10
Views: 9152

Re: Rotation per default not around center but NorthEast corner of image

I would expect the image to appear at +136+148 rotated around its center. However, it appears to be rotated around its upper right corner instead. It looks like you're misunderstanding the necessary geometry to locate your overlay where you want it. You should be trying to align the left and top of...
by GeeMack
2018-11-13T09:30:36-07:00
Forum: Users
Topic: Resize-bend-resize script
Replies: 6
Views: 7684

Re: Resize-bend-resize script

I know how resize, but what tool I can use for bending? You can use "-distort arc" to accomplish that. This command will do the 90° bend... convert input.png -background none -virtual-pixel none -distort arc "90 45 200 0" -shave 1 result.png Learn more about using "-distort...
by GeeMack
2018-11-08T20:00:21-07:00
Forum: Users
Topic: [Solved] Repeat "multiple images" over fixed canvas size
Replies: 10
Views: 11100

Re: Repeat "multiple images" over fixed canvas size

Is it possible to: 1. set a min width in case there are less images to fill the canvas? 2. limit the amount of images for on the canvas (for digital coupon purposes where we increase the "stamp" by one each time The object of the OP's task is to repeat a series of input images until the c...
by GeeMack
2018-11-08T12:55:13-07:00
Forum: Users
Topic: [Solved] Repeat "multiple images" over fixed canvas size
Replies: 10
Views: 11100

Re: Repeat "multiple images" over fixed canvas size

Care to explain what exactly the ??? is standing for ? A place holder ? In Windows BAT scripts and at the command line the question marks "?" are wildcards for individual characters, so "???.png" means any PNG image with a three character name. Would it be possible to use a for ...
by GeeMack
2018-11-07T23:20:23-07:00
Forum: Users
Topic: [Solved] Repeat "multiple images" over fixed canvas size
Replies: 10
Views: 11100

Re: Repeat "multiple images" over fixed canvas size

For example: *50 images 32x32px each *filling a 1000x1000 canvas => repeating the images till the canvas is filled This command reads in the tile images 000.png ... NNN.png, and appends them horizontally. Then it calculates the viewport needed to cover the area of the output canvas with those appen...
by GeeMack
2018-11-04T06:33:59-07:00
Forum: Users
Topic: Recreate a driver's license/passes with image and text
Replies: 31
Views: 23336

Re: Recreate a driver's license/passes with image and text

As a part of my "larger scheme" this still creates a solid black rectangle: ... \( -background none -fill white -font ./lib/felt.ttf -size 480x100 -gravity Center caption:'Hi {{NAME}}, we hope to see you soon!' -trim -bordercolor rgba\(0,0,0,0.5\) -border 10 -compose copy -border 10 \) -g...
by GeeMack
2018-11-04T05:59:14-07:00
Forum: Users
Topic: Recreate a driver's license/passes with image and text
Replies: 31
Views: 23336

Re: Recreate a driver's license/passes with image and text

The last section which adds the text has a 50% transparent black background, but I'm not able to succesfully add a border around that rectangle. When i add/use things like the following the best I got was it placed an entire rectangle of the border/stroke color under the text again instead of just ...
by GeeMack
2018-10-30T18:34:19-07:00
Forum: Users
Topic: Batch Resize Canvas Size to Longest Side
Replies: 6
Views: 7255

Re: Batch Resize Canvas Size to Longest Side

I'd imagine I need to adjust the canvas to this new size (using white background), and ensure the original image is centered in the new canvas. Is this possible on ImageMagick? This command will take any input image and pad it with white as necessary to create a square output image. If the input is...
by GeeMack
2018-10-29T06:06:02-07:00
Forum: Users
Topic: Arrange image to circle
Replies: 10
Views: 11867

Re: Arrange image to circle

How can I modify its inner part to be empty however ? Also, is there a way to force it to use a predefined canvas size ? (as far a possible) There are additional arguments to the "-distort arc" operator that let you specify the inside and/or outside dimensions of the result. You can find ...
by GeeMack
2018-10-29T05:22:46-07:00
Forum: Users
Topic: Arrange image to circle
Replies: 10
Views: 11867

Re: Arrange image to circle

If I for example had a horizontal picture and wanted to bend it to a circle, like this: This example command starts by creating a red-to-yellow gradient image 400 pixels wide by 20 pixels high. Then it adds a transparent border to the top and bottom. Then it uses a version of "-distort" t...
by GeeMack
2018-10-27T08:59:31-07:00
Forum: Users
Topic: Arrange image to circle
Replies: 10
Views: 11867

Re: Arrange image to circle

Supposing I'd change from say 12 to maybe 36 or perhaps 48 dashes: Can your code be simply adapted to that ? That FX expression "%[fx:t*360/n]" tells IM to rotate each input image in the list, designated by the "t", multiplied by 360 degrees divided by "n", the number ...
by GeeMack
2018-10-27T07:38:34-07:00
Forum: Users
Topic: Arrange image to circle
Replies: 10
Views: 11867

Re: Arrange image to circle

how could I arrange multiple of these (named 001.png 002.png ... etc) [...] using only imagemagick ? Assuming you're in the directory containing the input images and that they're in the order you want them to appear in the output, a command like this would accomplish that task... magick *.png -grav...
by GeeMack
2018-10-25T11:11:44-07:00
Forum: Users
Topic: How to use subshell to crop several coordinates in a single process
Replies: 2
Views: 5023

Re: How to use subshell to crop several coordinates in a single process

Do I need to do a subshell for each pair of coordinates or how to mix in a single process the operations for all the coordinates? You can do everything you have there in a single command by very careful use of nested sets of parentheses. Remember when you set the "-gravity" before your &q...
by GeeMack
2018-10-22T09:19:25-07:00
Forum: Bugs
Topic: IM 7.0.8-13 reports incorrect "-version" number
Replies: 2
Views: 8251

IM 7.0.8-13 reports incorrect "-version" number

I just downloaded and installed the Windows static binary "ImageMagick-7.0.8-13-Q16-HDRI-x64-static.exe" from "ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/". When I check the new installed "-version" it reports as 7.0.8-12... Version: ImageMagick 7.0.8-12 Q16 x64...
by GeeMack
2018-10-18T10:53:25-07:00
Forum: Users
Topic: Making semi-transparent white pixels in an image all a single color
Replies: 4
Views: 4984

Re: Making semi-transparent white pixels in an image all a single color

I would like to make the figures on the images (which are currently semi-transparent) be totally opaque, and go from the greyish color they are to being totally white (#ffffff). How would I go about this using convert? All of the images also have these different amounts of alpha on the figures, so ...