Search found 59 matches

by xpt
2011-12-23T13:34:03-07:00
Forum: Users
Topic: "Powerpoint" effect
Replies: 3
Views: 9023

Re: "Powerpoint" effect

Oh, didn't occur to me that -shadow can work for text as well.
Thanks for the swift reply Fred.

Merry Christmas and
Happy New Year

by xpt
2011-12-23T11:53:12-07:00
Forum: Users
Topic: "Powerpoint" effect
Replies: 3
Views: 9023

"Powerpoint" effect

Hi, For lack of better names, let me just call it "Powerpoint" effect, because what I want is exactly what Powerpoint is doing -- text shadowing. I want to feed a script with a text file, and the script will generate a transparent-background image with the text converted to images, with the given ...
by xpt
2011-11-21T17:35:15-07:00
Forum: Users
Topic: Join images vertically with convert -append
Replies: 5
Views: 35687

Re: Join images vertically with convert -append

It must be my general environment then. Thanks a lot Fred!
by xpt
2011-11-21T15:35:27-07:00
Forum: Users
Topic: Join images vertically with convert -append
Replies: 5
Views: 35687

Re: Join images vertically with convert -append

The following command worked fine form with . . . Thanks for your reply. I think I've pin pointed the culprit. There has been an extra step converting from page.png to page.gif, and then prints page.gif. I've now corrected the OP. And I believe the converting is the cause of my problem. lp page.png ...
by xpt
2011-11-21T15:03:08-07:00
Forum: Users
Topic: Join images vertically with convert -append
Replies: 5
Views: 35687

Join images vertically with convert -append

Hi, I have bumped into a very strange problem -- The 'convert -append' command will give me a result that looks OK but prints bad. I'm just joining 8 identical images vertically together, then print it out: convert clp.png clp.png clp.png clp.png clp.png clp.png clp.png clp.png -append page.png ...
by xpt
2011-09-11T19:49:12-07:00
Forum: Users
Topic: Tile crop, overlap and final image size
Replies: 2
Views: 9343

Tile crop, overlap and final image size

Hi, I'm just trying to figure out exactly how the overlapping affect the tile cropping. Let me explain with an example: $ convert logo: -crop 4x1@ +repage +adjoin logo_%d.gif $ identify logo_?.gif logo_0.gif GIF 160x480 160x480+0+0 8-bit PseudoClass 256c 2.97KB 0.000u 0:00.000 logo_1.gif[1] GIF ...
by xpt
2011-08-18T19:40:56-07:00
Forum: Users
Topic: Stretch the canvas
Replies: 2
Views: 6763

Re: Stretch the canvas

PERFECT!
Thanks!
by xpt
2011-08-18T07:22:29-07:00
Forum: Users
Topic: Stretch the canvas
Replies: 2
Views: 6763

Stretch the canvas

Hi, What's the easiest way to stretch an existing image's canvas to a bigger size? I meant to stretch the *canvas*, the image remains the same size. E.g, stretching a 300x300 image to 600x400, but the image stays intact, still 300x300 (and better in the middle of the image), but the canvas is ...
by xpt
2011-08-16T22:14:15-07:00
Forum: Users
Topic: Background Image For Page Curl
Replies: 16
Views: 37673

Timing control of pagecurl

Animation script courtesy of Anthony Thyssen that I modified slightly. Hi, I'm trying to make use of Fred's pagecurl, http://www.fmwconcepts.com/imagemagick/pagecurl/index.php I'm wondering, how do I do timing control? I want the "cover" to stay relatively long (say 3 seconds) and "quickly" (say 1 ...
by xpt
2011-08-16T21:44:22-07:00
Forum: Users
Topic: Put images together with overlapping
Replies: 2
Views: 7624

Put images together with overlapping

Hi,

Can the montage command take negative values for the -geometry parameter? -- I want to put two images together with overlapping in between them.

I tried composite -geometry ... f1 f2 -size new_size new_file,

but the output new_file still has the same size as f2.

Please help.

Thanks
by xpt
2011-08-16T18:31:52-07:00
Forum: Users
Topic: How to count the amount of white in an image
Replies: 13
Views: 30579

Re: How to count the amount of white in an image

Thanks Fred,

Your

Code: Select all

convert file.jpg -fuzz 10% -fill white -opaque white -fill black +opaque white -format "%[fx:100*mean]" info:
algorithm works better for me, according to my visual inspection, between this one and the previous one.

Thank you.
by xpt
2011-08-16T13:41:49-07:00
Forum: Users
Topic: How to count the amount of white in an image
Replies: 13
Views: 30579

Re: How to count the amount of white in an image

what command did you run on these two images?
Exactly using

Code: Select all

convert file -fuzz 0% -negate -threshold 0 -negate -format "%[fx:100*mean]" info:
what do you get from this?
by xpt
2011-08-16T13:40:04-07:00
Forum: Users
Topic: How to count the amount of white in an image
Replies: 13
Views: 30579

Re: How to count the amount of white in an image

More examples to test:

Image

Image
by xpt
2011-08-16T13:34:56-07:00
Forum: Users
Topic: How to count the amount of white in an image
Replies: 13
Views: 30579

Re: How to count the amount of white in an image

use -fuzz if desired if you want near-white as well as pure white, negate the image, threshold at 0, negate again, then compute the mean and multiply by 100. Will such algorithm confuse pure black as white? case 1 (55.3489): http://www.imgplace.com/img594/707/69oceananimalcoloringpa.jpg As the ...
by xpt
2011-08-16T12:18:57-07:00
Forum: Users
Topic: How to count the amount of white in an image
Replies: 13
Views: 30579

Re: How to count the amount of white in an image

Q1: Why my calculation is different than all of yours? $ convert logo: -fuzz 0% -negate -threshold 0 -negate -format "%[fx:100*mean]" info: 82.4707 $ convert logo: -colorspace gray -fuzz 5% +opaque white -format "%[fx:mean*100]" info: 99.9733 I.e., instead of advertised 83.4128 or 83.996, I get 82 ...