To clarify what I mean: let's say I have an image like this, with a gray background:
I want to replace the gray background with a transparent one. However, because the original image was drawn with an antialiased brush, the edge of the image and the background blend together, so the magic wand tool isn't quite up to the task:
Now, with enough manual effort it's possible to hide these kinds of artifacts. (My current process is to create a silhouette of the image in the same color as the original edge, then use a plugin to antialias that silhouette, delete the areas overlapping with the original image, antialias it again, and delete the areas overlapping with the background.) But this is slow, and it tends to look ugly and blocky on close inspection. Ideally, I'd like some kind of plugin that I can run to easily replace the background color with transparency; I figure that, if the background is a single static color, there's some kind of algorithm you could run to just convert pixels of that color to transparency (and pixels somewhat-that-color to somewhat-transparent), right? Does a plugin along these lines exist?