Here is some Python code to convert ENVI header files (.hdr) to ESRI World files (.tfw for tif ; .jgw for jpg).
→ Download (GPL-3.0 license)
hdr2wf.py [-h] [--format {tif,jpg}]