Skip to content

Replace dcraw with faster raw decoder (libraw?) #583

Closed
@Beep6581

Description

Originally reported on Google Code with ID 594

This is an enhancement suggestion.

dcraw is not optimized for speed, which shows as rather slow loading times of RAW files
compared to the competition. When working with RawTherapee, I think the slow loading
times is disturbing so it would be valuable with an improvement.

libraw is based on dcraw and does (so far) not provide much speed improvement.

It seems like Klaus Post's RawSpeed library could be a good alternative though, currently
used in RawStudio and Darktable.

A quick test made on my workstation showed that a .CR2 (canon RAW) that took 1800 ms
to unpack (only unpacking measured, no post-processing) with dcraw took 580 ms with
RawSpeed. A .NEF (Nikon RAW) file that took 1370 ms to unpack with dcraw took 680 ms
with RawSpeed. That is 2 - 3 times faster, and the difference between 1,8 and 0,6 seconds
load time is certainly noticed by the user.

The drawback with RawSpeed is that it does not support all formats, so you need to
have a solution where you combine that and dcraw/libraw, which Darktable currently
does.

Reported by torger@ludd.ltu.se on 2011-03-23 15:04:12

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions