Can one make photoshop plugins with bmax?

BlitzMax Forums/BlitzMax Programming/Can one make photoshop plugins with bmax?

Title ^ :P

If yes: how? And I mean with native code, e.g. I get a buncha data from photoshop (image/layer content), and I can do whatever I want with 'em, and return my own data.