Work in progress situation (before vaccation)
(credits to Ash for the Skull!)
I've changed my mind for this plugin and instead drawing each pixels, I'm using Ellipse (circle).
So exit the 'flakes'...
The source of the light is determined by scanning each pixel from top-left to bottom-right, lines per lines.
The first whitest pixel is assumed to be the source of the light.
From this point, I'm drawing 7 source flares + 7 symetric flares (=14 circles).
All circles are center-aligned on a line going from the source of the light to the center of the image.
You can't change the shapes, the quantity of flare, the center (as reference).
you can change the distances, the diameters, the transparency...
If you need to place the source of the light yourself, follow these steps:
1.Add a new layer.
2.F4, set the blend mode to Additive.
3.Fill the layer with black.
4.Spot a pixel with white color where you need the source of the light to be...
5.Effect/Render/LensFlare...
Advise: Save your work as often as posibly (in temporary folder if you want...) this plugin is still work in progress!
No risk to use it if you have a backup...
Test it, play with it and let me know. It works best with dark images...
New plugin LensFlare.dll
Here is the zip for the DLL