Modify Lightmap Texture pixels in script ?

Is it possible to modify the lightmap texture via script ?
I’ve found where they are… in LightmapSettings.lightmaps
and can swap out the textures for different ones at editor or run time…
BUT I want to modify the pixel contents of the texture in the project, then re-save the texture…
.e.g. build light maps… run my script to modify them, then re-save to project… end

Looks like the texture is saved in .exr format

Also IN order to edit pixels via script… I have to modify the texture’s import settings to R/W type it seems.
how would I go about modifying and saving the texture permanently ?

Thanks in advance !

http://wiki.unity3d.com/index.php/MiniEXR