La seule manière que je vois, c'est de partir d'un raw existant et de remplacer les datas avec un editeur hexa...
Inside the Canon RAW format version 2, understanding .CR2 file format and files produced by Canon EOS Digital Camera
Bon courage...