PixInsight Forum

PixInsight => Bug Reports => Topic started by: astroedo on 2019 September 26 12:10:37

Title: Problem decoding Canon 60D RAW
Post by: astroedo on 2019 September 26 12:10:37
Hi all,
A friend of mine, who is not familiar with english, has a problem in decoding CR2 files from both Canon 60D and Canon 6D Mark II.

The files was acquired directly in camera without external software and both cameras has the origina firmware.

Attached you can find the error screenshot: it seems to be a decoding error.

Note that all the files can be normally opened in Camera RAW or other astronomical software.

You can find a file for testing here   https://we.tl/t-BJyO0BujDK

Bye

Edoardo
Title: Re: Problem decoding Canon 60D RAW
Post by: dld on 2019 September 26 12:51:47
Hello,
The file appears to be an mRAW (https://cpn.canon-europe.com/content/education/infobank/image_compression/file_types_raw_sraw_and_jpeg.do) file.

An older PI version reports the following:

Timestamp: Mon Sep 23 21:17:23 2019
Camera: Canon EOS 60D
ISO speed: 800
Shutter: 120.0 sec
Aperture: f/inf
Focal length: 50.0 mm
Embedded ICC profile: no
Number of raw images: 1
Thumb size:  5184 x 3456
Full size:   3888 x 2592
Image size:  3888 x 2592
Output size: 3888 x 2592
Raw colors: 3
Daylight multipliers: 2.280493 0.939530 1.270003
Camera multipliers: 2072.000000 1024.000000 1662.000000 1024.000000

Invoking: dcraw -4 -o 0 -r 1 1 1 1 -t 0 -k 0 -H 1
Decoding Canon EOS 60D file (3888x2592 pixels, ISO=800, Exposure=120.00s): done
Loading raw image: done


I can't debayer the image. Maybe the inconsistency between image size/thumb reported size causes the problems.

Consider using the full-size RAW file format while imaging.
Title: Re: Problem decoding Canon 60D RAW
Post by: astroedo on 2019 September 26 13:11:04
Thank you for your fast reply.

Yes the image was recorded in mRAW by my friend.

Do anybody know if is there, in PixInsight, a workaround to decode this files?

Thanks Edoardo
Title: Re: Problem decoding Canon 60D RAW
Post by: sharkmelley on 2019 September 27 03:50:46
If all else fails, convert them to DNG.  PixInsight is happy to use DNG files.

Mark