Search found 25 matches

by atariZen
2016-02-13T05:11:39-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 12296

Re: How to convert large PDF with limit resources

ImageMagick may not be the best tool for this, depending on the source file. If your source PDF container is simply one large raster image per page, with no vector graphics or other PDF features, then it's better to use the pdfimages tool to extract each image to a file, which is not computationally...
by atariZen
2016-02-13T03:21:29-07:00
Forum: Users
Topic: Rubber Stamp Effect
Replies: 15
Views: 14623

Re: Rubber Stamp Effect

Personally, I usually put settings immediately before the operations they affect. Commands should always be written in logical, chronological order. Do this, then do that, then do something else. Put settings before the operators they should affect, and so on. That's very intuitive and sensible. Al...
by atariZen
2016-02-12T13:18:19-07:00
Forum: Users
Topic: Rubber Stamp Effect
Replies: 15
Views: 14623

Re: Rubber Stamp Effect

The layout of a complex command is a personal thing. I like to break into logical units, with indentation reflecting the level of parentheses. This helps me understand code, especially months after I first wrote it. Agreed. I had sensible indentations in emacs, but the copy into here botched it. I ...
by atariZen
2016-02-12T11:31:06-07:00
Forum: Users
Topic: Rubber Stamp Effect
Replies: 15
Views: 14623

Re: Rubber Stamp Effect

You need the +swap since composite requires the background image to first in the command line and the overlay image second. Thanks for making that clear. And I suppose being forced to put the background image last means the background cannot be a basis to size the other objects, correct? There are ...
by atariZen
2016-02-11T12:38:56-07:00
Forum: Users
Topic: Rubber Stamp Effect
Replies: 15
Views: 14623

Re: Rubber Stamp Effect

I've also just fixed the rose background problem. This is the final product I was going for: convert \( -size 500x200 -background white -gravity center \ -fill red -font Arial -pointsize 128 label:"STAMP" \ -fill none -stroke red -strokewidth 10 \ -draw "translate 250,100 roundrectangle -220,-75 220...
by atariZen
2016-02-11T12:36:00-07:00
Forum: Users
Topic: Rubber Stamp Effect
Replies: 15
Views: 14623

Re: Rubber Stamp Effect

Thanks snibgo. I just caught that. It's interesting that the output can have two images.. I didn't realize that!
by atariZen
2016-02-11T12:01:28-07:00
Forum: Users
Topic: Rubber Stamp Effect
Replies: 15
Views: 14623

Re: Rubber Stamp Effect

For one thing, your backslashes at the ends of the line MUST have spaces before them and no spaces after them. Actually the shell simply deletes all occurrences of "\" followed by newline. The space is needed whenever the tokens on either side of it cannot be joined, but the space can appear either...
by atariZen
2016-02-10T12:28:17-07:00
Forum: Users
Topic: Rubber Stamp Effect
Replies: 15
Views: 14623

Re: Rubber Stamp Effect

That's quite useful. I'm trying to take the idea further, and apply the rubber stamp to an existing image (which is likely to be a common use case). So this applies the rubber stamp to the logo, and rotates it 90 degrees and puts it on the right: convert \( -size 500x200 -background white -gravity c...
by atariZen
2016-02-10T12:18:12-07:00
Forum: Users
Topic: How to add transparency
Replies: 2
Views: 1696

Re: How to add transparency

That's a useful video, but it's incomplete because the instructor does not say how to create the stamp_overlay1.png. That file came out of nowhere. Anyone else encountering this thread will want to see this thread: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=20080 That includes h...
by atariZen
2016-02-09T13:07:57-07:00
Forum: Users
Topic: the -annotate option is not parsing percent escapes
Replies: 1
Views: 1727

the -annotate option is not parsing percent escapes

When -annotate is supplied a variable for the X offset, it ignores the whole coordinate. Yet it's able to do substitutions in the text message. E.g. convert magick:logo -set option:rt '%[fx:W/2-20]' \( -fill black -gravity center -annotate 90,90+%[rt]+0 "dimensions are %Wx%H and rt is %[rt]" \) -gra...