Search found 718 matches

by GeeMack
2016-06-26T16:20:44-07:00
Forum: Bugs
Topic: IM 7.0.2-1 odd behavior with "-draw"
Replies: 2
Views: 3611

IM 7.0.2-1 odd behavior with "-draw"

Using "ImageMagick 7.0.2-1 Q16 x64 2016-06-23" (HDRI, static) on Windows 7 64. I've recently encounterd problems with some "-draw" operations that result some pretty odd behavior. This command... magick ^ -size 1200x1000 ^ xc:lightgreen ^ -stroke darkred ^ -strokewidth 10 ^ -fill...
by GeeMack
2016-06-17T16:54:15-07:00
Forum: Users
Topic: SOLVED - How do I specify font usage order? (fallback fonts)
Replies: 8
Views: 10832

Re: SOLVED - How do I specify font usage order? (fallback fonts)

I'm trying to keep the code portable so as to reduce the config-work required for the end-user. I have a couple IM scripts that use fonts which don't reside on all my computers. I keep the scripts in their own folders, and keep a copy of the OTF or TTF font file right in the same folder. To use the...
by GeeMack
2016-06-16T07:38:59-07:00
Forum: Users
Topic: unable to open image
Replies: 2
Views: 8701

Re: unable to open image

Anyone know how I can resolve this problem? Your "dir /b" command returns the file names of the contents of the "%FIRST%" directory, but doesn't include the directory name itself. That makes the "convert" command look for those file names in the current directory, and ...
by GeeMack
2016-06-14T09:36:06-07:00
Forum: Users
Topic: Draw rectangles in different pages with different coodinates
Replies: 3
Views: 3716

Re: Draw rectangles in different pages with different coodinates

This will draw a black rectangle on top of the name and it's placed correctly on the first page, but the second page has less white space on the top margin, so the rectangle is slightly below the name. How can I draw the second second for the second, third, "n" page with coordinates sligh...
by GeeMack
2016-06-13T19:56:33-07:00
Forum: Users
Topic: Chopping(?) up my image
Replies: 9
Views: 5147

Re: Chopping(?) up my image

With IM7 this also works... magick input.png -crop 2x2@ +repage -distort SRT '%[fx:t*90]' \ -background none -extent %[fx:w*2]x%[fx:h*2] +repage -distort SRT '%[fx:t*270]' output%d.png To change the order of the output images you can "-swap" around some images in the stack before the first...
by GeeMack
2016-06-07T20:55:04-07:00
Forum: Users
Topic: SOLVED - How to create a top border only?
Replies: 2
Views: 5794

Re: How to create a top border only?

Is there a way to use montage or convert to add a border to my (thumbnail gallery of images) image but only on the top edge? I haven't been able to figure out how to do this on only one side of the resulting image. The examples (and my testing) all indicate that a border will be placed on opposite ...
by GeeMack
2016-06-07T09:50:32-07:00
Forum: Users
Topic: Composite - Images in different folder with similar filenames
Replies: 9
Views: 6912

Re: Composite - Images in different folder with similar filenames

Hi thanks for the comments. I am using Windows 7 and ImageMagick 7.0.2-8. The problem is that the number of images in each of the two folders to join is different, so i only want to composite two images that share the same filename [...] Bit more difficult than i thought. I still think I'd do somet...
by GeeMack
2016-06-06T19:46:41-07:00
Forum: Bugs
Topic: Odd "-compose blend" behavior with IM 7.0.1-6 ?
Replies: 3
Views: 4096

Re: Odd "-compose blend" behavior with IM 7.0.1-6 ?

A cure is to put "-alpha off" immediately after you draw the unfilled rectangle. I don't know why the problem occurs, or why this cures it. Thanks. I think I tried "-alpha off" after making the blue square but before the "-draw" operation, and that didn't work. Obvious...
by GeeMack
2016-06-06T19:29:38-07:00
Forum: Users
Topic: Composite - Images in different folder with similar filenames
Replies: 9
Views: 6912

Re: Composite - Images in different folder with similar filenames

Thanks for the quick reply. When you say limited, could ImageMagick do it if the file names were the identical in each folder? That would make it fairly easy, yep. It would also be pretty simple if a DIR command for both folders output the listing in the order needed for the composites. In other wo...
by GeeMack
2016-06-06T13:28:20-07:00
Forum: Bugs
Topic: Odd "-compose blend" behavior with IM 7.0.1-6 ?
Replies: 3
Views: 4096

Odd "-compose blend" behavior with IM 7.0.1-6 ?

I'm using "ImageMagick 7.0.1-6 Q16 x64 2016-05-19" (static) on Windows 7 64. I've run into what appears to be a bug in the composite operation when trying to blend an overlay. If I run this command it makes an opaque blue square with a red circle overlaid at 50% opacity as expected... magi...
by GeeMack
2016-06-05T21:47:47-07:00
Forum: Bugs
Topic: Crop while opening with square brackets not working - IM7
Replies: 1
Views: 2738

Crop while opening with square brackets not working - IM7

Using "ImageMagick 7.0.1-9 Q16 x64 2016-06-03" (static) on Windows 7 64, when opening an image file and including a crop specifier in square brackets like this... magick input1.jpg[400x300+30+40] output1.png ... it results in an error that looks like this... magick: unable to open image 'i...
by GeeMack
2016-05-23T18:53:40-07:00
Forum: Users
Topic: Rotating then inserting an image inside another one
Replies: 2
Views: 4507

Re: Rotating then inserting an image inside another one

Can you guys explain me what's going on and how to insert my input2.png always at the same place in the original image, after the rotation? As snibgo already mentioned, the volume dial in your background image isn't exactly centered in the canvas. You'll be able to easily rotate and center your ove...
by GeeMack
2016-05-16T18:57:41-07:00
Forum: Users
Topic: Need help batch combining/overlaying different folders of images
Replies: 3
Views: 3882

Re: Need help batch combining/overlaying different folders of images

I have a slightly different problem, I would like to append the first image in Folder A with the first image in Folder B. Append the 2nd image in Folder A with the 2nd image in Folder B and repeat the process for all files. Both folders have the same number of images and are of the same size and re...
by GeeMack
2016-05-14T15:51:51-07:00
Forum: Users
Topic: Create a spites file from multiple gifs
Replies: 2
Views: 4201

Re: Create a spites file from multiple gifs

Hi guys. I want to create sprites file for my site from multiple gifs. Here's my stackoverflow question. Please always provide the version of ImageMagick you're using and let us know what OS you're working on. Those can be very important to steering you toward the correct solution. It's a bit diffi...
by GeeMack
2016-05-11T04:58:27-07:00
Forum: Users
Topic: Label interword-spacing fit, but multiple spaces in text
Replies: 5
Views: 4470

Re: Label interword-spacing fit, but multiple spaces in text

Where did you get that pointsize value of 32.25 ? You found the pointsize. I didn't. I forgot to mention: I batch process many images. Every time there's a different random font, I have about 800 fonts. So, each font will have a different final pointsize. The "-interword-spacing" operator...