Issue with Canon PowerShot cameras

Hello! I have some problems when open photos from:
Canon PowerShot G1 X,
Canon PowerShot G5 X,
Canon PowerShot G7 X,
Canon PowerShot G7 X Mark II,
Canon PowerShot S120,
Canon PowerShot S130 IS.

There is a vignette effect on every photo made by this cameras.
(Photo from

Tried v 0.18.6 and built libraw from master, but it didn`t solve the problem.

For example, OpenCV 3.3.0 opens this files correctly.


LibRaw does not perform

LibRaw does not perform automatic vignetting and geometry corrections.

OpenCV: most likely, OpenCV opens embedded jpeg, not raw?

-- Alex Tutubalin

This is vignetting +

This is vignetting + distorsion.

LibRaw does not have internal lens database, so no way to correct this

here is RAW rendering:
And embedded JPEG:

You may try to use Lensfun, most of Canon fixed-camera lenses listed as 'supported':

-- Alex Tutubalin