how sparks could be created

I have been wondering lately how one could create the effect of sparks. Should it be done with particles or an image texture. If anyone has any advice, then I would be very gracious if they posted it.

I would use particles

with a halo material.

Thanks for the help.