Search found 25563 matches

by fmw42
2010-01-20T10:43:43-07:00
Forum: Users
Topic: convert performance large matrix
Replies: 3
Views: 11770

Re: convert performance large matrix

I know little about this. But I suspect you are running out of memory and thrashing to disk. See the following about processing large images:

http://www.imagemagick.org/Usage/files/#massive
http://www.imagemagick.org/script/comma ... .php#limit
by fmw42
2010-01-19T17:05:26-07:00
Forum: Users
Topic: convert -flatten produces harsh result
Replies: 16
Views: 37762

Re: convert -flatten produces harsh result

I downloaded your image. you have two frames. the first is a completely opaque white image (so you really don't need this frame). the second is the red circle in a black background with an 8-bit alpha channel that is binary and not grayscale (it only has two colors, black and white so fully opaque a...
by fmw42
2010-01-19T11:00:54-07:00
Forum: Users
Topic: Degrade image quality until a certain size(KB) is reached
Replies: 4
Views: 7969

Re: Degrade image quality until a certain size(KB) is reached

see my unix bash script, downsize at link below
by fmw42
2010-01-19T10:56:09-07:00
Forum: Users
Topic: How to split Multipage-Files?
Replies: 2
Views: 5667

Re: How to split Multipage-Files?

convert image.gif image_%d.gif
by fmw42
2010-01-19T10:54:08-07:00
Forum: Users
Topic: convert -flatten produces harsh result
Replies: 16
Views: 37762

Re: convert -flatten produces harsh result

cannot download your image right now as the server say no slots available for free users at this time
by fmw42
2010-01-18T19:37:53-07:00
Forum: Users
Topic: convert -flatten produces harsh result
Replies: 16
Views: 37762

Re: convert -flatten produces harsh result

it looks to me like the transparency channel should be 8-bit grayscale but appears to be used as (binary)

please post a link to your input image so we can see what might be the issue.
by fmw42
2010-01-18T17:50:23-07:00
Forum: Users
Topic: convert -flatten produces harsh result
Replies: 16
Views: 37762

Re: convert -flatten produces harsh result

try
convert circle.xcf[0] circle.xcf[1] -background white -flatten circle-simple-flatten.png

see command line syntax at http://www.imagemagick.org/Usage/basics/#why
by fmw42
2010-01-18T11:45:49-07:00
Forum: Users
Topic: Gradient reflection on a transparent background
Replies: 11
Views: 32425

Re: Gradient reflection on a transparent background

try this: (need to extract the alpha channel from the image, mirror and multiply by gradient) http://www.fmwconcepts.com/misc_tests/vertreflect/rounded_corner.gif infile="rounded_corner.gif" ramp=40 spacer=10 fade=50 ww=`convert $infile -format "%w" info:` hh=`convert $infile -fo...
by fmw42
2010-01-18T11:17:58-07:00
Forum: Users
Topic: Searching smaller part of an image which is repeated.
Replies: 6
Views: 11586

Re: Searching smaller part of an image which is repeated.

compare can search a smaller image against a larger image and return an image that is the match score. You just need to be able to find the coordinates of the best matches (by thresholding and getting the coordinates of non-black). see http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&am...
by fmw42
2010-01-17T16:17:55-07:00
Forum: Users
Topic: Gradient reflection on a transparent background
Replies: 11
Views: 32425

Re: Gradient reflection on a transparent background

Mirror the image and crop to size of desired ramp, create gradient of height=ramp percent of image height, compose the ramp into the alpha channel of the mirrored image, then append the image, some transparent spacer and then the ramped mirrored image. Start image: http://www.fmwconcepts.com/misc_te...
by fmw42
2010-01-17T13:17:18-07:00
Forum: Users
Topic: Script for batch correction Underwater submarine pictures
Replies: 4
Views: 10195

Re: Script for batch correction Underwater submarine pictures

auto-levels is relatively new. But I wrote a script to do that before it was developed. It basically computes the min and max stats from min=`convert image -format "%[min]" info:` etc and then feeds those variables to -level ${min}x${max} so you can substitute something like that or use/co...
by fmw42
2010-01-17T13:11:18-07:00
Forum: Users
Topic: Vignette Help ?
Replies: 5
Views: 17488

Re: Vignette Help ?

the 100x65000 was some trial and error as I have not used vignette much. using x65000 means that the taper will be linear rather than gaussian. the 100 means that the taper should extend over about 100 pixels.
by fmw42
2010-01-16T21:00:39-07:00
Forum: Users
Topic: Problems with Convert
Replies: 8
Views: 13414

Re: Problems with Convert

Percent means different things in different functions. Most, like -level and -evaluate, etc use percent to be 0% for black and 100% for white. So it is a percent of the graylevel range. The odd ones are -contrast-stretch and -linear-stretch which use counts. So percent means percent cumulative count...
by fmw42
2010-01-16T16:10:05-07:00
Forum: Users
Topic: Problems with Convert
Replies: 8
Views: 13414

Re: Problems with Convert

No problem. We all had to learn at one time or another and I got help from Anthony. So just carrying on the tradition. Good reading: http://www.imagemagick.org/script/command-line-options.php And Anthony's extensive examples pages starting at http://www.imagemagick.org/Usage/ and http://www.imagemag...
by fmw42
2010-01-16T15:33:12-07:00
Forum: Users
Topic: Process scanned image; Threshold; Antialias
Replies: 7
Views: 13286

Re: Process scanned image; Threshold; Antialias

Btw, my next challenge will be to add these images in full 300dpi into a PDF. Is there any way to save space while doing that? (special option, have lineart only, ...) I don't know much about PDF optimization. See http://www.imagemagick.org/Usage/formats/#pdf If your images are line art in b/w, the...