Bug 338631 - extending raw support
Summary: extending raw support
Status: CLOSED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-RAW (show other bugs)
Version: 4.2.0
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 18:34 UTC by Balázs Vinarz
Modified: 2017-07-31 15:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balázs Vinarz 2014-08-28 18:34:43 UTC
dear developers!
please add 10bit raw image support to digikam for supporting mediatek'a android platform raw image importing. currently just irfanview is able to open these files, and the workflow could be quicker if we can ignore the windows log in/out procedure.
heres a link, i made a few comments there:
http://forum.xda-developers.com/showthread.php?t=2344723
thanks
Comment 1 caulier.gilles 2014-08-28 19:07:57 UTC
digiKam already support 16 bits color depth image internally.

Raw decoder is libraw shared lib. Please report this UPSTREAM problem to libraw team.

Gilles Caulier
Comment 2 Balázs Vinarz 2014-08-28 19:12:51 UTC
thanks, i was intredted in 10bits.
Comment 3 Alex Tutubalin 2014-08-29 12:40:13 UTC
These files are now supported by LibRaw (master branch on Guthub)
Comment 4 caulier.gilles 2014-08-29 12:59:21 UTC
Thanks Alex...

I can close this file as FIXED well..

When is planed next libraw 0.17 ? Any new functionnalities/changes ?

Gilles
Comment 5 Balázs Vinarz 2014-08-29 13:02:42 UTC
i think you should let it open for a more few hours. we are still discussing and a detailed bugreport could be better.
Comment 6 caulier.gilles 2014-08-29 13:05:38 UTC
file still available for discussions in FIXED status...

Gilles Caulier
Comment 7 Alex Tutubalin 2014-08-29 13:20:30 UTC
0.17 is planned after Photokina (and support for most announced cameras). So, October or so.

From digiKam's point of view (open()/unpack()/dcraw_process()) nothing changed. There are a lot of internals changed, sure.
Comment 8 caulier.gilles 2014-08-29 14:26:21 UTC
OK. Thanks Alex...

Gilles
Comment 9 Balázs Vinarz 2015-05-22 12:15:34 UTC
Dear Gilles,
any ideas for using the support for mediatek devices? i can compile for my own, but compiling only libraw is not enough. can u share some links to the newest sources?
thanks
Comment 10 caulier.gilles 2015-05-22 12:20:21 UTC
libraw has extra packs including more demosaiciing algorithms.

Look in libraw project for details :

http://www.libraw.org/download
Comment 11 Balázs Vinarz 2015-05-22 12:42:45 UTC
i compiled and installed libraw package, but digikam still shows 16.0.
so libraw support mtk chipset (Alcatel OT-997D) but cant let it work. maybe i need to recompile libkdcraw instead of libraw?
Comment 12 caulier.gilles 2015-05-22 12:49:21 UTC
Of course libkdcraw must be recompiled...

Gilles Caulier
Comment 13 Balázs Vinarz 2015-05-22 13:11:31 UTC
can u send me a link, that supports mtk chipset?
Comment 14 caulier.gilles 2015-05-22 13:29:28 UTC
I don't know. 

This kind of support is typically implemented to libraw decoder not digiKam or libkdcraw.

Ask to libraw team for details :

http://www.libraw.org
Comment 15 Alex Tutubalin 2015-05-22 14:04:11 UTC
Some MTK files are indeed supported. I'm not sure, that this support is complete.

Unfortunately, these files do not contain any metadata, so the only way to detect file contents is file size.

Alex Tutubalin, LibRaw team
Comment 16 Balázs Vinarz 2015-05-22 14:46:43 UTC
Alex, i think its not a problem. I dont want to choose or autoselec files from a pack. Just decode a few ones. Since than:
- i installed the 17Alpha4
- force removed the 16Stable
- the program still uses the libraw_r.so.10 file, so renamed the libraw_r.so.13 but digikam still not accepts it.
Comment 17 Alex Tutubalin 2015-05-22 15:04:24 UTC
You cannot use LibRaw 0.17 .so instead of 0.17 .so because ABI changed.

You need to rebuild libkdcraw
Comment 18 caulier.gilles 2015-05-22 16:50:24 UTC
Balázs,

No need to re-open this file each time. This one is closed because your whish is not relevent directly to digiKam/libkdcraw, as RAW decoders are in Libraw.

Alex is lead developper from libraw. He will guide you to solve your problem.

Gilles Caulier
Comment 19 Alex Tutubalin 2015-05-22 17:14:16 UTC
I do not know how to rebuild libkdcraw
Comment 20 Balázs Vinarz 2015-05-22 19:39:31 UTC
okey than, i've got issues recompiling libkdcraw, some qt libs were missing. i hope that a stable release will avaliable soon.