get rid hardcoded CR2 numbers (more chance of this working with other raw files)