Search found 25563 matches

by fmw42
2008-03-08T09:15:27-07:00
Forum: Users
Topic: change in "compose -multiply" from IM 6.2 to 6.3?
Replies: 17
Views: 34339

Re: change in "compose -multiply" from IM 6.2 to 6.3?

This seems to reproduce your result upon magnification inspection (however, I like the others better, personally). convert triangle_white.png \( -size 13x13 xc:red \) \ \( -clone 0 -channel RGBA -fill black -opaque none -threshold 0 \) \ -compose multiply -composite triangle_red_new4.png The third i...
by fmw42
2008-03-08T00:32:55-07:00
Forum: Users
Topic: change in "compose -multiply" from IM 6.2 to 6.3?
Replies: 17
Views: 34339

Re: change in "compose -multiply" from IM 6.2 to 6.3?

Here are 3 methods that seem to work for me on IM 6.3.8 convert triangle_white.png -fuzz 20% -fill red -opaque white triangle_red_new1.png convert triangle_white.png \( -size 13x13 xc:red \) \( -clone 0 -channel RGBA -fill black -opaque none -transparent white \) \ -compose over -composite triangle_...
by fmw42
2008-03-07T21:51:04-07:00
Forum: Users
Topic: Getting higher resolution with the montage command
Replies: 12
Views: 36363

Re: Getting higher resolution with the montage command

JPEG is a lossy format. You need to convert them to PNG or some other format that will not loose quality due to compression and make your montage in that format, but not JPEG. Or tell IM to use -quality 100 with the JPG output.

see http://www.imagemagick.org/script/comma ... hp#quality
by fmw42
2008-03-07T21:45:05-07:00
Forum: Users
Topic: change in "compose -multiply" from IM 6.2 to 6.3?
Replies: 17
Views: 34339

Re: change in "compose -multiply" from IM 6.2 to 6.3?

Yes, I misunderstood the situation. Sorry. Now that I look at it more carefully, I am not sure why your original method worked at all, however, I am new to IM at 6.3.5 and don't know what it was like under 6.2.7 I assume that your white.png image is 13x13 in size and has a checkerboard background th...
by fmw42
2008-03-07T17:26:47-07:00
Forum: Users
Topic: change in "compose -multiply" from IM 6.2 to 6.3?
Replies: 17
Views: 34339

Re: change in "compose -multiply" from IM 6.2 to 6.3?

The default filters for -resize have change. To get back what you had use -filter point before -resize

see http://www.imagemagick.org/Usage/resize/#filter for more info on filters for resize
by fmw42
2008-03-06T04:33:02-07:00
Forum: Users
Topic: convert not changing colorspace
Replies: 7
Views: 15529

Re: convert not changing colorspace

Why would you want to make a grayscale image into an rgb thumbnail? It will still be gray tone even if it has 3 channels. It would be just a waste of disk space. For CMYK, you would need to convert to RGB. Try this: convert image_cmyk.jpg -colorspace CMYK -separate tmp.png convert tmp-0.png -colorsp...
by fmw42
2008-03-05T12:38:49-07:00
Forum: Users
Topic: Animated Gif
Replies: 4
Views: 57410

Re: Animated Gif

I am no expert at merging animations, but the timing of the two animation (delay between frames may not be the same), which is difficult to work around. But try using -coalesce See http://www.imagemagick.org/Usage/anim_mods/ try convert \( animation1.gif -coalesce \) \( animation2.gif -coalesce \) f...
by fmw42
2008-03-05T12:28:52-07:00
Forum: Users
Topic: convert not changing colorspace
Replies: 7
Views: 15529

Re: convert not changing colorspace

For grayscale, this should work: convert origfile.jpg -colorspace rgb -thumbnail 250x250 filethumb.jpg but I think you may need to use something else if it is CMYK. See http://www.imagemagick.org/Usage/channels/#separate http://www.imagemagick.org/Usage/channels/#combine_other as converting from CMY...
by fmw42
2008-03-03T23:32:39-07:00
Forum: Users
Topic: Fisheye effect
Replies: 4
Views: 13960

Re: Fisheye effect

You can now do something like this with my new pinbarrel script that allow you to apply barrel or pincushion distortion to an image with an arbitrary center point. See http://www.fmwconcepts.com/imagemagick/index.html I am trying to do a proper fisheye distortion, which maps the whole image into a c...
by fmw42
2008-03-03T13:39:48-07:00
Forum: Users
Topic: complex color replacing for map
Replies: 7
Views: 15327

Re: complex color replacing for map

I am not sure that will work. You can try it, but then you have multiple thresholds to select. This gets very complicated. The solution I supplied earlier depended upon only two colors plus the gray road. I suspect that you may have to create transparency masks so that you can work on pairs of color...
by fmw42
2008-03-03T13:31:51-07:00
Forum: Users
Topic: Apply a function in x and y for translation of pixels
Replies: 4
Views: 10524

Re: Apply a function in x and y for translation of pixels

Take a look at my recently posted script, pinbarrel, that creates or removes barrel and/or pincushion distortion. It uses -fx, which is slow, but what you will need to do also. Eventually you may be able to use distortion maps if the distortion is to be the same for all images of the same size. I am...
by fmw42
2008-03-03T13:26:51-07:00
Forum: Users
Topic: only need to determine colorspace of graphic
Replies: 8
Views: 17480

Re: only need to determine colorspace of graphic

Once again, magick, you amaze me at the speed at which you do some of these enhancements. That is terrific.
by fmw42
2008-03-03T13:17:42-07:00
Forum: Users
Topic: unable to create bmp images with 256 colors / 8 bit
Replies: 3
Views: 10798

Re: unable to create bmp images with 256 colors / 8 bit

try

convert <infile> -depth 8 <outfile.bmp>

or post your command attempts for us to review.

Also what type of input images are you starting with? Post a link to an example!
by fmw42
2008-03-03T13:12:21-07:00
Forum: Users
Topic: auto-crop multiple old photographs from scanned image?
Replies: 11
Views: 40228

Re: auto-crop multiple old photographs from scanned image?

If the background color around the scanned image is relatively constant, you can try my two scripts autotrim and unrotate. You can get them at

http://www.fmwconcepts.com/imagemagick/index.html