http://bugs.winehq.org/show_bug.cgi?id=30832
Bug #: 30832 Summary: Canon Digital Photo Professional: Fails to convert .cr2 files Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: test051102@hotmail.com Classification: Unclassified
It is possible to edit/save .cr2 files without problems. Any changes made to a .cr2 file are added to the file in a non desctructive way. They can be removed at a later time. The changes are displayed correctly in the internal viewer.
Hower to actually apply the changes the final .cr2 file needs to be converted to .jpg for example. This is the most important functionality of the application. It totally failes in current version of wine with an "unknown error". The application continues to work after display the error.
I have tested the issue with Canon DPP Version "3.11.4.10".
http://bugs.winehq.org/show_bug.cgi?id=30832
wineatic test051102@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.canon.co.uk/Supp | |ort/Consumer_Products/produ | |cts/cameras/Digital_SLR/EOS | |_550D.aspx?type=download&pa | |ge=1 Version|unspecified |1.5.5
http://bugs.winehq.org/show_bug.cgi?id=30832
wineatic test051102@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |test051102@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=30832
--- Comment #1 from wineatic test051102@hotmail.com 2012-06-03 12:32:22 CDT --- I just found out a workaround:
(1) After starting the conversion a dialog appears. (2) Disable the option to embed the ICC-profile. (3) The conversion starts as expected.
I don't know what this option is used for. I convert my raw files to 16-bit .tif files which can then be optimized using other software (like RawTherapee). When it comes to removing any optical artifacts from .cr2 files, Canon's DPP is the only choice. It is able to do that based on the actual lens that was used to shoot the pic.
http://bugs.winehq.org/show_bug.cgi?id=30832
Lukas Jirkovsky l.jirkovsky@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l.jirkovsky@gmail.com
--- Comment #2 from Lukas Jirkovsky l.jirkovsky@gmail.com 2013-09-05 11:27:13 CDT --- I think this bug can be closed. It is likely that it was caused by incorrectly installed profiles (before the installation procedure was fixed accordingly). Embedding ICC profiles works like a charm for quite some time now.
http://bugs.winehq.org/show_bug.cgi?id=30832
--- Comment #3 from Austin English austinenglish@gmail.com 2013-09-05 13:23:48 CDT --- wineatic, can you please retry?
https://bugs.winehq.org/show_bug.cgi?id=30832
Michael t0mcat@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |t0mcat@gmx.de
--- Comment #4 from Michael t0mcat@gmx.de --- This behavior can only be observed when exporting JPEG files with embedded ICC profiles on systems with incorrectly installed ICC profiles. Since DPP installation can only be performed with workarounds (as of 12/21/2014) chances are high more users will observe such behavior.
I too think that the bug can be closed as it's not a bug really.
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
https://bugs.winehq.org/show_bug.cgi?id=30832
--- Comment #6 from Michael t0mcat@gmx.de --- I haven't done a new DPP installation in a while, forgot to hack the registry and had to go the cabextract way. So, it works with dppw3.14.47-updater.exe, too. Even the lens optimizer works out of the box!
P.S. I was referring to the ICC profiles supplied with DPP, of course.
https://bugs.winehq.org/show_bug.cgi?id=30832
--- Comment #7 from Lukas Jirkovsky l.jirkovsky@gmail.com --- Anastasius Focht: Quote: What installation procedure was fixed?
Before the msxml3 workaround was found, there was a rather complicated installation procedure involving manually extracting the cab files from the temp folder created by the installer and then moving the files around.
https://bugs.winehq.org/show_bug.cgi?id=30832
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- Closing invalid bugs.