This used to be the first attempt of my script to automatically convert between CR2 files to FITS files.
I’ve talked about the method earlier in this post.
But I’ve moved the code (and the whole project) to github, you can read, download, use, change or do whatever you want with it in it’s github page.