https://bugs.winehq.org/show_bug.cgi?id=30832
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |RESOLVED CC| |focht@gmx.net Resolution|--- |INVALID Summary|Canon Digital Photo |Canon Digital Photo |Professional: Fails to |Professional 3.x fails to |convert .cr2 files |convert .cr2 files (broken | |install with missing ICC | |profiles)
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
since Canon only provides updaters (which contain the full install package though), pre-create the following key in fresh 32-bit WINEPREFIX:
--- snip --- $ wine reg add "HKLM\Software\Canon\DPP" --- snip ---
Work around bug 16817 -> 'winetricks -q msxml3'
Download and run DPP installer/updater:
Download: http://gdlp01.c-wss.com/gds/6/0200003616/01/dppw31415.exe
--- snip --- $ wine ./dppw31415.exe --- snip ---
Check installed ICC profiles (apart from system provided ones)
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Canon/Digital Photo Professional
$ ls -1 icc/*.icc icc/6000.ICC icc/AdobeRGB.icc icc/AppleRGB.icc icc/CNZEU1A1.icc icc/CNZEU2A1.icc icc/CNZEU3A1.icc icc/CNZEU4A1.icc icc/CNZEU5A1.icc icc/CNZJM1A1.icc icc/CNZJM2A1.icc icc/CNZJM3A1.icc icc/CNZJM4A1.icc icc/CNZJM5A1.icc icc/CNZJP1C1.icc icc/CNZJP2C1.icc icc/CNZJP3C1.icc icc/CNZJP4C1.icc icc/CNZJP5C1.icc icc/CNZUS1A1.icc icc/CNZUS2A1.icc icc/CNZUS3A1.icc icc/CNZUS4A1.icc icc/CNZUS5A1.icc icc/ColorMatchRGB.icc icc/FA.ICC icc/FS.ICC icc/LA.ICC icc/LS.ICC icc/NA.ICC icc/NS.ICC icc/PA.ICC icc/PS.ICC icc/SA.ICC icc/sRGB Profile.icc icc/SS.ICC icc/WideGamutRGB.icc --- snip ---
Examples files: https://rawtohdri.googlecode.com/files/Canon_CR2_2.zip
Start DPPViewer, load .CR2 files. Convert using 'File' -> 'Convert and save' (keep 'Embed ICC profile in the image' selected -> 'Save'.
Works for all example .CR2 files.
Unfortunately comment #2 and #4 are rather unspecific about *which* ICC profiles are meant here.
--- quote --- It is likely that it was caused by incorrectly installed profiles (before the installation procedure was fixed accordingly). --- quote ---
What installation procedure was fixed? DPP installer? "Accordingly"?
--- quote --- This behavior can only be observed when exporting JPEG files with embedded ICC profiles on systems with incorrectly installed ICC profiles. --- quote ---
Again ... do you mean system-wide ICC profiles provided by Linux host or application installed ones?
--- quote --- Since DPP installation can only be performed with workarounds (as of 12/21/2014) chances are high more users will observe such behavior. --- quote ---
There is only one workaround needed, that is bug 16817 -> 'winetricks -q msxml3'
Leaving that part out will get you a broken install where DPP can't be started/used at all.
Resolving 'invalid' here.
$ sha1sum dppw31415.exe 798bd56d687e72bc6cddf5122a142d1adad43d94 dppw31415.exe
$ du -sh dppw31415.exe 67M dppw31415.exe
$ wine --version wine-1.7.33-50-g7eed378
Regards