I am able to use Mapnik generate_image.py to generate image with a BBOX and projection.
Also, I have added a python script to generate a JGW file. But to completely georeference the generated image. I guess I need to add projection information to it.
I found out it can be done via .prj file. But not sure if it can be generated via Python script. Is there any way to do the same? Is only generating .jgw file the way to completely georeference the image?