Admins Note: This plugin is not completely compatible with the latest versions of paint.net (beyond 4.0.12).
When working with images I like to be able to have a relevant palette.
The attached effect plugin uses the current image to create a paint.net palette file. Both dll files are required for this "effect".
When you first run it (from Effects -> Tools -> Palette From Image) you need to enter the Palettes folder (usually My Documents\Paint.NET User Files\Palettes). This then gets saved for subsequent uses.
The default palette name is PDN Current Image (so it's not likely to clash with any you might already have). This file can be overwritten each time. After the effect is run the new palette appears in the Paint.net palette list ready to use.
Hidden Content:
UPDATE 05-July-09
Renamed settings file to match the dll
Added checking for invalid filename characters
Generated palette sorted by HSV
UPDATE 01-Aug-09
Fixed file access issue (for APShredder)
Added progress bar to palette generation
Fixed form positioning
UPDATE 11-Nov-09
Patched for threading issue with v3.5
PaletteFromImage.zip