#360 Latest CVS breaks Panasonic G5

closed-fixed
nobody
None
5
2013-10-17
2013-10-10
No

Hi,

I just did an 'cvs up' to get the latest ufraw. With this version, processing of Panasonic G5 images is completely foobar (see attached image).
Reverting to my previous version (cvs as of June 18 2013) gives proper results

1 Attachments

Discussion

  • Niels Kristian Bech Jensen

    Please make a sample raw file available for download or send it to me using www.yousendit.com or a similar service. My mail address is nkbj(at)users.sourceforge.net.

    Regards,
    Niels Kristian

     
  • Niels Kristian Bech Jensen

    Thanks for the sample image. I have no problems with the current cvs code (October 16 2013). See that screenshot.

    What system are you using? There have been a report about problems with GCC 4.8.1 on Fedora 19: http://sourceforge.net/p/ufraw/bugs/355/

    I would also like to see the output from Options->Log on your system.

    Regards,
    Niels Kristian

     
  • Peter Sütterlin

    This is an openSUSE 12.3, compiler is
    gcc (SUSE Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012]

    I just reinstalled the rpm that gives me the trouble, here's the log:

    ufraw_open: w:4624 h:3472 curvesize:0
    EXIF data read using exiv2, buflen 15414

    Scaling with darkness 143, saturation 4095, and
    multipliers 1.000000 0.427419 0.690323 0.427419
    Loading Panasonic DMC-G5 image from /home/pit/Graph/Camera/LaPalma/2013-10/p1060079.rw2 ...
    Black: 143, Maximum: 4095

    But this is exactly the same message that I get with the older version.
    I attach the output of 'ldd ufraw' - maybe helps spotting problematic things?
    Next I'll do another cvs up and create new rpms...

     
    Last edit: Peter Sütterlin 2013-10-16
  • Peter Sütterlin

    OK, new rpm does the same. I realized I had forgotten to run autogen.sh, but that did not make a difference.
    Also, and maybe more important, the error also occurs with other camera types. I checked with an old one from an DMC-LX3 - same problem :(

    However, I found that if I change the exposure correction, at some point (-1.22 to -1.23 for the G5 rw2) the image suddenly looks normal again. Some type overflow/mismatch?

    BTW, it is an 64bit system (forgot to mention before)

     
  • Dave Wild

    Dave Wild - 2013-10-16

    Same issue with Fedora FC19 (64 bit). Removing lcms2-devel package from the system will resolve this issue (because it uses lcms1). I pulled the latest lcms2 source package (lcms2-2.5) and compiled and installed it myself, issue returns. Doesn't matter if I use gcc 4.8 or 4.7, same thing. So it's either lcms2 or a depending library of it?

    Note: I compiled and tested with lcms2 2.4 and 2.3 and same issue so probably is a dependency of it.

     
    Last edit: Dave Wild 2013-10-16
  • Peter Sütterlin

    Confirmed, removing the lcms2 devel files (and thus linking against lcms1) solves the problem.
    The version of lcms2 here is 2.5-2.4.1

     
  • Niels Kristian Bech Jensen

    lcms2 2.2 works fine on my system. Could someone please test with lcms2 2.4 to narrow down the bug?

    Regards,
    Niels Kristian

     
  • Peter Sütterlin

    As Dave already reported, too, the error also occurs with 2.4. Older versions I can't easily test here...

    Edit: No, I found an older src.rpm with 2.2 and temporarily installed that one, and compiled ufraw against it. Still the same error :(

     
    Last edit: Peter Sütterlin 2013-10-16
  • Niels Kristian Bech Jensen

    To many variables here for easy debugging: Distributions, compiler versions, library versions.

    Regards,
    Niels Kristian

     
  • Niels Kristian Bech Jensen

    Udi fixed a bug in the UFRaw lcms2 code a few hours ago. Please check if that makes a difference.

    Regards,
    Niels Kristian

     
  • Peter Sütterlin

    Fixed by latest lcms2 fixes in CVS from Udi
    Thanks!

    Pit

     
  • Niels Kristian Bech Jensen

    • Status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks