Core Image Stroke Filter

post's picture

Hiya

A Core Image filter that the world has been gasping for:

An 8-bit-style border stroke added to images.

Stroke thickness and colour are exposed as inputs.

Works a charm for thicknesses up to about 4 pixels -- above that, the corners get flaky; the code is very basic.

Enjoy. And... Feel very free to improve.

All the best, -R

PreviewAttachmentSize
CI_Stroke.qtz7.25 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

post's picture
Re: Core Image Stroke Filter

Screenshot; filter stacked twice.

PreviewAttachmentSize
Screen shot 2010-12-18 at 5.12.58 PM.png
Screen shot 2010-12-18 at 5.12.58 PM.png132.09 KB

gtoledo3's picture
Re: Core Image Stroke Filter

That's cool; on my system, I have to place the Billboard settings to "Native Core Image Rendering" for the line outline is see on the tooltip to render (I'm not sure if you mean for the line to render or not, but it seems like that's part of what it's suppose to do.)

gtoledo3's picture
Re: Core Image Stroke Filter

Actually, would it be possible to post the torus thing you have pictured? I don't think this works as expected (?) for me.

post's picture
Re: Core Image Stroke Filter

Hiya George

No problem -- here is the composition.

I see no difference when toggling Native Core Image Rendering on the Billboard... Works both ways here.

(MacBook Pro, RadeonX1600, Snow Leopard)

Best -R.

PreviewAttachmentSize
CI_Stroke_torus_test.qtz11.27 KB

gtoledo3's picture
Re: Core Image Stroke Filter

I get this kind of image (see attachment)...

Macbook Pro, nvidia 9600, SL...

PreviewAttachmentSize
CI_Stroke_torus_test.png
CI_Stroke_torus_test.png16.94 KB