Search found 35 matches

by SharkD
2008-01-12T01:42:15-07:00
Forum: Users
Topic: Black border in image
Replies: 7
Views: 14436

Re: Black border in image

How do you expand the mask so that the border around the objects is exactly one pixel? It's easy to expand the mask itself by one pixel, but it's not the same. I don't think I can even do it using trigonometry, as each object is a different size and doesn't have a regular shape. Expand the mask, an...
by SharkD
2008-01-08T11:35:24-07:00
Forum: Users
Topic: Black border in image
Replies: 7
Views: 14436

Re: Black border in image

Now you need to expand that mask by the thickness of the border you want to add. You can blur it then adjust the transparency of the result to create a nice fuzzy / anti-aliased border. Just how fuzzy and thick it is depends on your blur and semi-transparency adjustments. How do you expand the mask...
by SharkD
2008-01-07T19:09:39-07:00
Forum: Users
Topic: Black border in image
Replies: 7
Views: 14436

Re: Black border in image

What do you mean, "pointers"? I edited the first post so that the images shown are no longer thumbnails, but the images themselves. Hopefully that clears up any confusion. I am aware of how to remove the alpha channel and change the background color (though I included it in case there's a ...
by SharkD
2008-01-06T23:22:09-07:00
Forum: Users
Topic: Black border in image
Replies: 7
Views: 14436

Black border in image

I was wondering if there were any way in ImageMagick of getting the black border around the object in the second image below, starting with the first image. I can do it in The Gimp, but I'd hoped that there was a way of automating the process. Note that the first image is a 32-bit image with an alph...
by SharkD
2007-01-15T23:51:08-07:00
Forum: Users
Topic: Using a custom palette
Replies: 2
Views: 9052

Thanks!
by SharkD
2007-01-12T13:13:03-07:00
Forum: Users
Topic: Using a custom palette
Replies: 2
Views: 9052

Using a custom palette

Hi!

I was wondering how one might reduce the number of colors in an image by applying a custom indexed palette to the image. I have a custom palette in Photoshop .act format as well as Paint Shop Pro .pal format.

Thanks!
by SharkD
2006-08-12T05:18:58-07:00
Forum: Users
Topic: Help with dithering
Replies: 17
Views: 46325

You mentioned having problems with -monochrome, not -ordered dither. That is correct. However, I am experimenting with both methods. What version of IM are you using? Whatever is the latest available for Windows. I just downloaded it about a week ago. PS: why are you overlaying you image onto blue?...
by SharkD
2006-08-11T01:26:21-07:00
Forum: Users
Topic: Help with dithering
Replies: 17
Views: 46325

I managed to truncate the commands down to this much: convert "%1%2" ( -channel A -ordered-dither 2x1 ) ( -compose CopyOpacity -composite ) "%1_new%2" convert -size 64x128 xc:blue "%1_blue%2" convert ( "%1_blue%2" "%1_new%2" -compose SrcOver -composi...
by SharkD
2006-08-10T21:37:28-07:00
Forum: Users
Topic: transparent png in Internet Explorer
Replies: 6
Views: 21910

rain wrote: If I embedded it in an svg would my users then need a plugin for svg?


Yes; but then it would work in all browsers.
by SharkD
2006-08-10T21:35:14-07:00
Forum: Users
Topic: Help with dithering
Replies: 17
Views: 46325

If you would PM me when you get done rewriting that section, I would greatly appreciate it.
by SharkD
2006-08-10T16:32:31-07:00
Forum: Users
Topic: transparent png in Internet Explorer
Replies: 6
Views: 21910

You can also embed the PNG image in an SVG document.
by SharkD
2006-08-09T23:18:23-07:00
Forum: Users
Topic: Help with dithering
Replies: 17
Views: 46325

I'm having trouble getting the -random-threshold command to apply only to the alpha channel, as described in this tutorial . It always causes the other channels to become reduced to two colors, as well. Likewise for the example where the alpha channel is seperated before using the -monochrome comman...
by SharkD
2006-08-09T03:27:14-07:00
Forum: Users
Topic: Problems displaying PNG images when embedded in SVG [SOLVED]
Replies: 0
Views: 5487

Problems displaying PNG images when embedded in SVG [SOLVED]

Starting with a full RGBA PNG image, I then run the following batch file: convert -channel A -negate -separate -monochrome %1%2 %1_alpha%2 composite -compose CopyOpacity "%1_alpha%2" "%1%2" "%1_new%2" convert -size 64x128 xc:blue %1_blue%2 composite over %1_new%2 %1_blu...
by SharkD
2006-08-09T03:06:57-07:00
Forum: Users
Topic: Help with dithering
Replies: 17
Views: 46325

The resulting image does require transparency; so I can't just flatten it.

How would I truncate the above batch file into a single command?
Also, how would I change the dithering method to ordered instead of Floyd-Steinberg?
by SharkD
2006-08-07T23:21:06-07:00
Forum: Users
Topic: Help with dithering
Replies: 17
Views: 46325

First of all if the resulting image does not require any transparency, you can just flatten the image to a fixed color the same as the background page on which you plan to display the image. How do you mean? As for your example and artical. you do not need ths -dither argument at all as that is the...