How to make objects aligned according to a path or 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 :