[Digikam-users] half size raw preview: not available for Canon CRW or CR2?
Gilles Caulier
caulier.gilles at gmail.com
Sun Oct 2 19:10:17 BST 2011
in debugfull, a lots of messages are printed in the console. It slowdown all.
Also, debug symbols are embeded in compiled binary. I take more memory
to run and slowdown again application.
Gilles Caulier
2011/10/2 Anders Stedtlund <falolaf at gmail.com>:
> Building right now.
>
> Are there any penalities running debugfull? I mean performance.
>
> /Anders
>
> 2011/10/2 Gilles Caulier <caulier.gilles at gmail.com>:
>> 2011/10/2 Gilles Caulier <caulier.gilles at gmail.com>:
>>> 2011/10/2 Anders Stedtlund <falolaf at gmail.com>:
>>>> Do I need to build with debug?
>>>
>>
>> Ah sorry. If you have build yourself digiKam and co, yes, you need to
>> turn on debug statements.
>>
>> Look in README file, it's explained. There is an option to add to
>> cmake confiure command line. It's very simple :
>>
>> https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/README#L141
>>
>> I use debugfull mode on my computer to hack program.
>>
>> Gilles Caulier
>>
>>> No. Just install debug package of digiKam, libkexiv2, and libkdcraw.
>>>
>>> Run kdebugdialog, and turn on KExiv2, KDcraw, and digiKam debug space.
>>>
>>> Start digiKam from a console. Select a Raw file and show preview. Look
>>> message printed on the console.
>>>
>>> Gilles Caulier
>>>
>>>>
>>>> This is what I get now:
>>>> digikam(32662)/digikam (core) Digikam::DMetadata::getIccProfile: Exif
>>>> color-space tag is sRGB. Using default sRGB ICC profile.
>>>> digikam(32662)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation:
>>>> Orientation => Exif.Image.Orientation => 1
>>>>
>>>>
>>>> /Anders
>>>>
>>>> 2011/10/2 Gilles Caulier <caulier.gilles at gmail.com>:
>>>>> On my computer, with option enabled on setup dialog :
>>>>>
>>>>> digikam(10248)/KDCRAW KDcrawIface::KDcraw::loadHalfPreview: Try to use
>>>>> reduced RAW picture extraction
>>>>> Scaling with darkness 0, saturation 3947, and
>>>>> multipliers 1,937500 1,000000 1,777344 1,000000
>>>>> Converting to sRGB colorspace...
>>>>> digikam(10248)/KDCRAW KDcrawIface::KDcraw::loadHalfPreview: Using
>>>>> reduced RAW picture extraction
>>>>>
>>>>> It's an ARW raw file show in preview mode from album icon view.
>>>>>
>>>>> Gilles Caulier
>>>>>
>>>>> 2011/10/2 Gilles Caulier <caulier.gilles at gmail.com>:
>>>>>> Just a question about this problem.
>>>>>>
>>>>>> When you turn on debug space with kdebugdialog (kdcraw, kexiv2,
>>>>>> digiKam), do you sees omething special in the console when you show
>>>>>> raw preview ?
>>>>>>
>>>>>> Gilles Caulier
>>>>>>
>>>>>> 2011/10/2 sleepless <sleeplessregulus at hetnet.nl>:
>>>>>>> Op 02-10-11 12:51, Anders Stedtlund schreef:
>>>>>>> Hi Anders,
>>>>>>> Thanks for your precise investigations.
>>>>>>> I prefer to figure out the problems as much as possible, so the programmers
>>>>>>> don´t loose valuable time on it. But I ran out of ideas.
>>>>>>> I forwarded this tread to the programmers in the hope for some luminous idea
>>>>>>> about what´s going on.
>>>>>>>
>>>>>>>> Hi Rinus,
>>>>>>>>
>>>>>>>> I have tested, many times, your approach but I can't reproduce your
>>>>>>>> behaviour (hope that I understood you correctly). It always says
>>>>>>>> "Embeded JPEG Preview", and the same size of the preview is shown.
>>>>>>>>
>>>>>>>> Can you reproduce both in light table and in album view?
>>>>>>>
>>>>>>> yes I can, but for the moment it keeps saying
>>>>>>> "Embeded JPEG Preview¨
>>>>>>>>
>>>>>>>> I have measured with kruler and I have these figures. All measures are
>>>>>>>> the width of the image.
>>>>>>>>
>>>>>>>> My screen is 1366x768. The test image is in landscape, 3272x2178. (Canon
>>>>>>>> SRAW1)
>>>>>>>>
>>>>>>>> In album view the preview measures around 1040 pixels. Which digiKam
>>>>>>>> says is 32% in zoom. This should give about 3250 pixels in 100%.
>>>>>>>> (Quite close)
>>>>>>>>
>>>>>>>> In light table the preview measures around 638 pixels, which digiKam
>>>>>>>> says is 19% in zoom. This should give about 3358 pixels in 100%. (A
>>>>>>>> bit over)
>>>>>>>>
>>>>>>>> I assume that the embedded preview isn't the same size, in pixels, as
>>>>>>>> the main image? Hence, I always see the main image as preview?
>>>>>>>
>>>>>>> I guess, that´s the case here indeed. Do you know if your images actually
>>>>>>> have an embedded jpeg?
>>>>>>>>
>>>>>>>> Another thing I have seen during these tests is that if I have enabled
>>>>>>>> the load full-sized images for the album view and the digiKam window
>>>>>>>> is maximised, I can't have the preview smaller than slightly bigger
>>>>>>>> than "fit to window". This means that there is a scroll bar to the
>>>>>>>> right that I can scroll a pixel or so. And if I manually types e.g.
>>>>>>>> 20% zoom it immediately returns to 32%. But that might be another
>>>>>>>> problem...
>>>>>>>
>>>>>>> yes, and I found that the image sometimes is being displayed as 640% but
>>>>>>> reported as 100%.
>>>>>>>
>>>>>>> It looks like a real mess, but I hope it is not what it looks like.
>>>>>>> Best,
>>>>>>> Rinus
>>>>>>>>
>>>>>>>> /Anders
>>>>>>>>
>>>>>>>> 2011/10/2 sleepless<sleeplessregulus at hetnet.nl>:
>>>>>>>>>
>>>>>>>>> Op 02-10-11 08:13, Anders Stedtlund schreef:
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I would say that for me the settings doesn't make any difference
>>>>>>>>>> actually. Not in album view, not in light table. That's odd.
>>>>>>>>>>
>>>>>>>>>> In album view the image is at 32% when fit to window. In light table
>>>>>>>>>> it's at 19% when fit to window.What size should I expect from the
>>>>>>>>>> embedded
>>>>>>>>>> preview?
>>>>>>>>>
>>>>>>>>> Hi Anders,
>>>>>>>>>
>>>>>>>>> This is completely dependent of the resolution of your screen and the way
>>>>>>>>> you set up your screen layout.
>>>>>>>>> The way I checked was by estimating (measuring is better) the view window
>>>>>>>>> against the whole screen. In my case it is about half screen height which
>>>>>>>>> equals aproximately 600 pixels.
>>>>>>>>> Setting photosize to 100 % I need 6 times click the slider downward, so
>>>>>>>>> my
>>>>>>>>> picture height size equals 3600 pixels, wich is for me the assurance I am
>>>>>>>>> looking at the raw picture and not at embedded preview.
>>>>>>>>> If I look at embedded preview, I need only one click to cover the whole
>>>>>>>>> image.
>>>>>>>>>
>>>>>>>>> But the nasty thing is I could not reproduce what I did yesterday, today
>>>>>>>>> it
>>>>>>>>> was only possible to view the real thing and not the embedded preview
>>>>>>>>> even
>>>>>>>>> though it kept saying ¨embedded jpeg prview¨
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> But repeatedly doing for several times:
>>>>>>>>> Settings->Configure Digikam->lighttable->¨load full sized image
>>>>>>>>> DEchecked¨
>>>>>>>>> and
>>>>>>>>> Settings->Configure Digikam->album view->¨embedded preview loads
>>>>>>>>> fullsized
>>>>>>>>> images¨ DEchecked
>>>>>>>>>
>>>>>>>>> Settings->Configure Digikam->lighttable->¨load full sized image checked¨
>>>>>>>>> and
>>>>>>>>> Settings->Configure Digikam->album view->¨embedded preview loads
>>>>>>>>> fullsized
>>>>>>>>> images¨ checked
>>>>>>>>>
>>>>>>>>> brought it back.
>>>>>>>>>
>>>>>>>>> I can view either Raw or embedded, but it keeps saying ¨embedded jpeg
>>>>>>>>> prview¨ in either case.
>>>>>>>>>
>>>>>>>>> I would appreciate if you try to do it with repeatedly changing settings
>>>>>>>>> to
>>>>>>>>> see if you can change the results as I managed. We have clearly a problem
>>>>>>>>> here, but it is still so randomly that I can not make a useful bug
>>>>>>>>> report.
>>>>>>>>> We should at least know what we are looking at without counting pixels.
>>>>>>>>> Some other guy made already a report and did a withdrawel of it, because
>>>>>>>>> his
>>>>>>>>> problem was cured. Maybe some others will do some investigations in to
>>>>>>>>> this
>>>>>>>>> matter as well.
>>>>>>>>> Best,
>>>>>>>>> Rinus
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> /Anders
>>>>>>>>>>
>>>>>>>>>> 2011/9/30 sleepless<sleeplessregulus at hetnet.nl>:
>>>>>>>>>>>
>>>>>>>>>>> Some investigation brougth this forward. In my case it says for PEF
>>>>>>>>>>> files
>>>>>>>>>>> embedded jpg, but I am actually looking at the RAW file.
>>>>>>>>>>> Want to try: Put the lighttable window to 100% and see the difference
>>>>>>>>>>> at
>>>>>>>>>>> the
>>>>>>>>>>> size of the slider at either settings.
>>>>>>>>>>> So it looks the message not being updated according the changed
>>>>>>>>>>> settings.
>>>>>>>>>>> Rinus
>>>>>>>>>>>
>>>>>>>>>>> Op 30-09-11 14:31, sleepless schreef:
>>>>>>>>>>>>
>>>>>>>>>>>> Have you tried to set Settings->Configure Digikam->lighttable->load
>>>>>>>>>>>> full
>>>>>>>>>>>> sized image enabled?
>>>>>>>>>>>> Makes the difference on dng anyway.
>>>>>>>>>>>> Rinus
>>>>>>>>>>>> Op 30-09-11 13:24, Gilles Caulier schreef:
>>>>>>>>>>>>>
>>>>>>>>>>>>> core application, through libkdcraw which embed libraw.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Gilles Caulier
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2011/9/30 Anders Stedtlund<falolaf at gmail.com>:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Is it the core application or kipi-plugins that handles this?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> /Anders
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2011/9/30 Gilles Caulier<caulier.gilles at gmail.com>:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> No, 'sit the same one...
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Gilles Caulier
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2011/9/30 Anders Stedtlund<falolaf at gmail.com>:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I seem to have libraw 0.13.5. Should I use something newer?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> /Anders
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2011/9/30 Gilles Caulier<caulier.gilles at gmail.com>:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I think it depand of libraw to compute Raw half size preview.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I use all code from git master.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Gilles Caulier
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 2011/9/30 Anders Stedtlund<falolaf at gmail.com>:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Can I have done something wrong with my build? What would
>>>>>>>>>>>>>>>>>> trigger
>>>>>>>>>>>>>>>>>> this
>>>>>>>>>>>>>>>>>> behaviour?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Can't remember if it started with 2.0 or 2.1.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> /Anders
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Den 30 sep 2011 12:04 skrev "Gilles
>>>>>>>>>>>>>>>>>> Caulier"<caulier.gilles at gmail.com>:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> It'not reproducible here. i can load CR2 half size Raw preview,
>>>>>>>>>>>>>>>>>>> instead Embeded JPEG
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Gilles Caulier
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 2011/9/30 Anders Stedtlund<falolaf at gmail.com>:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I have tested with a new profile but it gives me the same
>>>>>>>>>>>>>>>>>>>> result,
>>>>>>>>>>>>>>>>>>>> only
>>>>>>>>>>>>>>>>>>>> preview of embedded jpg.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> /Anders
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 2011/9/29 Anders Stedtlund<falolaf at gmail.com>:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> "Emebeded preview loads full-sized images" enabled or not
>>>>>>>>>>>>>>>>>>>>> gives
>>>>>>>>>>>>>>>>>>>>> the same
>>>>>>>>>>>>>>>>>>>>> result.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> /Anders
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 2011/9/29 Gilles Caulier<caulier.gilles at gmail.com>:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Look in config dialog, in Album-View section, Preview
>>>>>>>>>>>>>>>>>>>>>> Options.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Gilles Caulier
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 2011/9/29 Anders Stedtlund<falolaf at gmail.com>:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> (And now I will finish the mail before I send it......)
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> jpg images says: Full Size Preview
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> My setup:
>>>>>>>>>>>>>>>>>>>>>>> digiKam 2.1.1 (built by me)
>>>>>>>>>>>>>>>>>>>>>>> kipi-plugins 2.1.1 (built by me)
>>>>>>>>>>>>>>>>>>>>>>> openSuse 11.4
>>>>>>>>>>>>>>>>>>>>>>> KDE 4.7.1
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> /Anders
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> 2011/9/29 Anders Stedtlund<falolaf at gmail.com>:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I'm now running digiKam 2.1.1 and kipi-plugins 2.1.1.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Some time ago in an older version of digiKam, I was able
>>>>>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>>>> use "half
>>>>>>>>>>>>>>>>>>>>>>>> size raw preview". Now this seems not to be possible.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Was this a change of puspose?
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> jpg images says:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Digikam-users mailing list
>>>>>>>>>> Digikam-users at kde.org
>>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Digikam-users mailing list
>>>>>>>>> Digikam-users at kde.org
>>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Digikam-users mailing list
>>>>>>>> Digikam-users at kde.org
>>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Digikam-users mailing list
>>>>>>> Digikam-users at kde.org
>>>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> Digikam-users mailing list
>>>>> Digikam-users at kde.org
>>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>>
>>>> _______________________________________________
>>>> Digikam-users mailing list
>>>> Digikam-users at kde.org
>>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>>
>>>
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
More information about the Digikam-users
mailing list