Search found 25563 matches

by fmw42
2008-02-23T12:55:14-07:00
Forum: Users
Topic: Make multiple versions of image using a single command?
Replies: 2
Views: 7036

Re: Make multiple versions of image using a single command?

Try the following, they seem to work for me. convert \( lena.jpg -resize 100x100! -write lena100.jpg \) \ -clone 0 -delete 0--2 -resize 50x50! lena50.jpg convert \( lena.jpg -write mpr:lena -delete 0 \) \ \( mpr:lena -resize 100x100! -write lena100.jpg +delete \) \ mpr:lena -resize 50x50! lena50.jpg...
by fmw42
2008-02-21T17:10:19-07:00
Forum: Users
Topic: New image size is larger than old after stripping/cropping
Replies: 7
Views: 16969

Re: New image size is larger than old after stripping/cropping

I think you are missing my point. I suspect IM is changing the amount of compression on your image so that sometimes it ends up with higher quality and lower compression, even when you take away the metadata and some border. The only thing you can do that I know of is to change the quality setting t...
by fmw42
2008-02-21T11:28:26-07:00
Forum: Users
Topic: composite with multipage tiff
Replies: 4
Views: 11645

Re: composite with multipage tiff

Try:

convert \( background.tif -coalesce \) null: overlay.bmp -gravity NorthEast -geometry +150+150 -compose multiply -layers composite result.tif


see:

http://www.imagemagick.org/script/comma ... hp?#layers
http://www.imagemagick.org/Usage/anim_mods/#composite
by fmw42
2008-02-21T11:18:13-07:00
Forum: Users
Topic: New image size is larger than old after stripping/cropping
Replies: 7
Views: 16969

Re: New image size is larger than old after stripping/cropping

If you are keeping the image as jpg after -strip, then the issue is what quality level IM is applying automatically when it generates your output jpg. JPG is a lossy compression storage format. If you want a smaller file size, then you need to add -quality to your command line. To find out what you ...
by fmw42
2008-02-20T18:19:03-07:00
Forum: Users
Topic: New image size is larger than old after stripping/cropping
Replies: 7
Views: 16969

Re: New image size is larger than old after stripping/cropping

You have not said what type of image you are using. If jpg, then the issue is the amount of compression that IM is applying after stripping the metadata compared to what you had before. Also remember that IM makes 3 channels for you images, I think, even if it is grayscale.
by fmw42
2008-02-20T12:37:53-07:00
Forum: Users
Topic: convert type to graphic, size not working
Replies: 4
Views: 10265

Re: convert type to graphic, size not working

try convert -size 500x500 xc:green -font "c:\WINDOWS\Fonts\tt1046m_.ttf" label:"Welcome Back Jessica" "c:\pathtoimages\Jessica.gif" This should make a 500x500 green image with your font in it. But you need to tell it what size font you want and what color font you want ...
by fmw42
2008-02-20T12:30:08-07:00
Forum: Bugs
Topic: IM Mac OS X Tiger can't find Ghostscript - SOLVED
Replies: 6
Views: 18466

Re: Build IM 6.3.8-10 Mac OS X Tiger fails to find Ghostscript

I am still unable to build IM (now 6.3.8-10) from source and get it to recognize a (no-error) install of Ghostscript-8.15 (from the IM delegates library). When doing my ./configure of IM, I get the following messages regarding Ghostscript: Checking for Ghostscript support ---------------------------...
by fmw42
2008-02-20T11:09:09-07:00
Forum: Bugs
Topic: Possible bug in +noise random
Replies: 3
Views: 9430

Re: Possible bug in +noise random

Why not use '(0.4*rand()+0.3)' in your -fx expression? Yes that would work for random noise (but fx is slower than +noise). But how do I handle that for Uniform or Gaussian noise or any other type that you have in +noise? Are there any advanced user settings for +noise that would accommodate that? ...
by fmw42
2008-02-19T21:59:04-07:00
Forum: Bugs
Topic: Possible bug in +noise random
Replies: 3
Views: 9430

Possible bug in +noise random

I have had success with generating random noise images in previous version 6.3.7.x, but I am having trouble with IM 6.3.8-6 Q16 on Mac OS X Tiger. When I do: convert logo: -colorspace Gray +noise Random logo_random.png I get a totally black image. when I do convert logo: -colorspace Gray +noise Unif...
by fmw42
2008-02-19T19:20:05-07:00
Forum: Users
Topic: Color Conversion Problem
Replies: 3
Views: 8292

Re: Color Conversion Problem

I don't think you are changing colorspaces correctly. I think that only works if you start from RGB and go to some other colorspace. I don't think IM knows that your image is CMYK and so you need to tell it in a round about way. See http://www.imagemagick.org/Usage/channels/#combine_other where you ...
by fmw42
2008-02-19T19:11:04-07:00
Forum: Users
Topic: png transparency question
Replies: 3
Views: 8516

Re: png transparency question

How are you determining what 50% is to be transparent? You could use -black-threshold to put all pixels that are the bottom 50% graylevel to black leaving the rest as is. Then use -transparent black to make all the thresholded pixels go transparent. convert <infile> -channel RGB -black-threshold 50%...
by fmw42
2008-02-19T18:58:21-07:00
Forum: Users
Topic: How to do different -delay after last morph?
Replies: 3
Views: 12647

Re: How to do different -delay after last morph?

I have never used morph before, but have you tried: convert \( -delay 60 -morph 1 file1.jpg file2.jpg \) \( -delay 120 -morph 5 file3.jpg file4.jpg \) out.gif This should give you delay 60 for file 1 and 2 each as a frame and delay 120 for five frames between file 3 and 4. Let us know if that works.
by fmw42
2008-02-19T18:45:19-07:00
Forum: Users
Topic: text from a file
Replies: 1
Views: 5085

Re: text from a file

I am no expert and have not verified any of these, but you can do str=`cat textfile.txt` Then try convert -font helvetica -fill white -pointsize 80 -draw 'text 700,250 "$st" 172945.dpx 172945_new.cin You can also try using -annotate 0 "$str" or composite label:"$str" Pu...
by fmw42
2008-02-18T19:06:25-07:00
Forum: Developers
Topic: FFT package update
Replies: 2
Views: 15698

Re: FFT package update

You also need to first download and install the FFTW 3.1.2 delegate library.

http://www.fftw.org/download.html
by fmw42
2008-02-18T18:59:21-07:00
Forum: Users
Topic: Fast way to get Image Info (size, datatype info)
Replies: 5
Views: 77911

Re: Fast way to get Image Info (size, datatype info)

identify <image>

or for more information

identify -verbose info: <image>