Search found 457 matches

by GreenKoopa
2013-07-22T14:17:02-07:00
Forum: Users
Topic: Remove black (add transparency)
Replies: 9
Views: 10068

Re: Remove black (add transparency)

Marcel71, An alternative to -evaluate multiply is -auto-level, which would apply a multiply of 3.5 in this case. Fred, I had a different solution in mind but I only ran into problems. Any insight? These create proper output as viewed by IM, but GIMP doesn't show a histogram for them, which couldn't ...
by GreenKoopa
2013-07-22T13:20:09-07:00
Forum: Users
Topic: Remove black (add transparency)
Replies: 9
Views: 10068

Re: Remove black (add transparency)

Do you want?
  • black becomes fully transparent
  • white stays white and fully opaque
  • grays stay gray and become partially transparent
Or something a little different? I ask because the lightest pixel is very dark and so would be less than half transparent.
by GreenKoopa
2013-07-22T12:47:13-07:00
Forum: Users
Topic: Remove black (add transparency)
Replies: 9
Views: 10068

Re: Remove black (add transparency)

I can't see your image or otherwise connect to that domain.
by GreenKoopa
2013-07-22T12:30:29-07:00
Forum: Users
Topic: Convert 10 Images with 3 clones for each
Replies: 6
Views: 5272

Re: Convert 10 Images with 3 clones for each

Since you changed +clone to -clone 0--1, you should change the matching +delete to -delete 0--1

http://www.imagemagick.org/Usage/basics/#image_list
by GreenKoopa
2013-07-22T11:06:36-07:00
Forum: Users
Topic: Resize image with "ignore aspect ratio" switch not working
Replies: 4
Views: 16289

Re: Resize image with "ignore aspect ratio" switch not worki

What platform? Have you tried omitting the backslash before the exclamation?
by GreenKoopa
2013-07-22T09:43:21-07:00
Forum: Users
Topic: Convert 10 Images with 3 clones for each
Replies: 6
Views: 5272

Re: Convert 10 Images with 3 clones for each

I have no idea which way is best. It's just an alternative for you to consider, which I offered because it may also simplify your clone and filename needs. Personally I would make one call to convert per image, and use php to create the loop. Many people have success loading all of the images at onc...
by GreenKoopa
2013-07-22T07:22:36-07:00
Forum: Users
Topic: Convert 10 Images with 3 clones for each
Replies: 6
Views: 5272

Re: Convert 10 Images with 3 clones for each

+clone makes a copy of the last image -clone 0 makes a copy of the first image -clone -1 makes a copy of the last image -clone 0--1 makes a copy of the first through last images http://www.imagemagick.org/Usage/basics/#clone convert path/folder/*.* reads all images into memory at once. If you have a...
by GreenKoopa
2013-07-22T00:30:44-07:00
Forum: Users
Topic: bilinear point in percents
Replies: 19
Views: 10370

Re: bilinear point in percents

Is this correct output? convert -size 1x5 xc: -sparse-color Barycentric "0,0 white 0,5 black" txt:- # ImageMagick pixel enumeration: 1,5,65535,srgb 0,0: (65535,65535,65535) #FFFFFFFFFFFF white 0,1: (52428,52428,52428) #CCCCCCCCCCCC grey80 0,2: (39321,39321,39321) #999999999999 grey60 0,3: ...
by GreenKoopa
2013-07-21T15:47:57-07:00
Forum: Bugs
Topic: -strip
Replies: 2
Views: 6445

-strip

Running convert in.jpg -strip out.png identify -verbose out.png reveals Properties:exif:* and Properties:jpeg:* still in the png file. This began between versions 6.8.4-8 and 6.8.5-6. I first noticed this new behavior when running convert in.jpg -strip ... out.png convert out.png -quality 95 out.jpg...
by GreenKoopa
2013-07-19T12:38:00-07:00
Forum: Users
Topic: -unsharp - convert time
Replies: 3
Views: 5204

Re: -unsharp - convert time

Simply moving -auto-level -unsharp 0x1 to within the parentheses will halve their time because they are currently being run twice. I see what you are doing with the white canvas, and that method often makes sense. In your case, -extent may achieve the same output easier and faster. http://www.imagem...
by GreenKoopa
2013-07-19T12:20:40-07:00
Forum: Users
Topic: -unsharp - convert time
Replies: 3
Views: 5204

-unsharp - convert time

I noticed by using -unsharp 0x1 my convert time increased almost twofold in a command like this: convert -size 3000x2400 xc:white ( target.jpg -resize 3000x -gravity center +repage -profile sRGB.icm ) -auto-level -unsharp 0x1 -composite target2.jpg Do you have timings for with and without the -unsh...
by GreenKoopa
2013-07-19T11:49:03-07:00
Forum: Users
Topic: How does -unsharp work?
Replies: 17
Views: 26564

Re: How does -unsharp work?

Yes, probably too tangential. I started a new topic with some ideas.
viewtopic.php?f=1&t=23786
by GreenKoopa
2013-07-18T23:27:05-07:00
Forum: Users
Topic: How does -unsharp work?
Replies: 17
Views: 26564

Re: How does -unsharp work?

Thanks for the reference Fred. That formula suggests behavior like -black-threshold rather than -level. IM behaves the same way, but with an extra divide by 2. Above I showed commands without threshold -fx "gain=2;u+gain*(u-v)" and this incorporates it -fx "gain=2;th=0.05;u+gain*(u-v)...
by GreenKoopa
2013-07-18T17:45:05-07:00
Forum: Users
Topic: How does -unsharp work?
Replies: 17
Views: 26564

Re: How does -unsharp work?

Thanks guys. I was making it way to complicated. These appear to be equivalent. convert in.png -unsharp 10x4+2+0 1.png convert in.png -blur 10x4 blur.png convert in.png blur.png -fx "gain=2;u+gain*(u-v)" 2.png convert in.png blur.png -set option:compose:args "%[fx:gain=2;-100*gain],%[...