Search found 7 matches

by grendell
2016-12-04T18:02:01-07:00
Forum: Users
Topic: Default Sigma Value in Gaussian Blur
Replies: 8
Views: 11992

Re: Default Sigma Value in Gaussian Blur

Thanks! 1.0 is actually what I had settled on while porting these commands, but compare was still coming back with (very minor) differences.

Now that I have everything ported (yay!), I'm going to go back and play with all the parameters, but I just needed a starting point. Thanks again!
by grendell
2016-12-04T16:08:00-07:00
Forum: Users
Topic: Default Sigma Value in Gaussian Blur
Replies: 8
Views: 11992

Default Sigma Value in Gaussian Blur

According to http://www.imagemagick.org/script/comma ... ssian-blur, sigma can be omitted on a Gaussian blur command, but I cannot locate a default value for use with MagickCore. Where can I find info like this? Thanks!
by grendell
2016-11-30T23:41:27-07:00
Forum: Users
Topic: MagickCore Color Replacement
Replies: 4
Views: 3898

Re: MagickCore Color Replacement

Oh man, I was using an opacity of 0 because I'm used to thinking in alpha values. Thanks again!
by grendell
2016-11-30T22:44:46-07:00
Forum: Users
Topic: MagickCore Color Replacement
Replies: 4
Views: 3898

Re: MagickCore Color Replacement

Ah, thanks! For whatever reason, I didn't realize that -transparent was the command. That makes total sense now. Unfortunately, this doesn't seem to be working because my Image doesn't have an alpha channel. When I write it to disk, it comes out as grayscale. I've tried SetImageAlphaChannel() and ...
by grendell
2016-11-30T20:30:25-07:00
Forum: Users
Topic: MagickCore Color Replacement
Replies: 4
Views: 3898

MagickCore Color Replacement

On the CLI, I'm using the following to replace all white pixels with transparency: convert input.png -transparent white output.png What would the equivalent be with MagickCore? I'm currently using ImageMagick 6.9.6-6 on OSX 10.9.5. I'm not quite sure how to even search for this. Thanks in advance!
by grendell
2016-11-30T17:28:46-07:00
Forum: Users
Topic: How does one discard an image's palette using MagickCore?
Replies: 2
Views: 2502

Re: How does one discard an image's palette using MagickCore?

That's exactly what I needed to do. Thanks!
by grendell
2016-11-28T23:58:00-07:00
Forum: Users
Topic: How does one discard an image's palette using MagickCore?
Replies: 2
Views: 2502

How does one discard an image's palette using MagickCore?

This is my first night diving into MagickCore in hopes of speeding up some image processing I have been doing via the CLI. I've run into an issue when I try to manipulate the pixels of a paletted/indexed png and then write that image back out to file. Test image creation: convert -resize 256x256 xc ...