How to make objects aligned according to a path or bitmap? I have some objects - balls -, I need to make them organized according to a path or a bitmap.Is this possible without using manual object moves?

EDIT:

An example:

I'd like to organize/align my objects (balls) so that they occupy all dark pixels of this bitmap
This can be done with a particle system where density is influenced by the image as a texture :


create a plane and UV-unwrap it.
add a particle system to this plane :





in the texture tab change the influence from time to Density :





the result :