pkg.sopackage field notes

brew / rank 309

Install libraw with Homebrew

Library for reading RAW files from digital photo cameras. Version 0.22.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libraw

provider-native install command

overview

Package summary

Library for reading RAW files from digital photo cameras

Commands and aliases

  • 4channels
  • dcraw_emu
  • dcraw_half
  • half_mt
  • mem_image
  • multirender_test
  • postprocessing_benchmark
  • raw-identify
  • rawtextdump
  • simple_dcraw
  • unprocessed_raw

history

Project history and usage

LibRaw is a RAW photo decoding library created to turn Dave Coffin's dcraw codebase into an embeddable, thread-safer library with expanded metadata and camera-format support.

Project history

The LibRaw project states that it launched in 2008 based on Dave Coffin's dcraw.c utility. Its goals were to convert dcraw into a library usable by other programs, remove global-variable style constraints, improve thread safety, import dcraw changes, and expand metadata extraction.

LibRaw's history is inseparable from dcraw. The project notes that dcraw support was reduced to a minimum in 2015 and ceased in 2018; after that, new camera and format support was handled by the LibRaw team. The rendering path inherited from dcraw remained important, while LibRaw moved contributor demosaic and post-processing experiments into separate projects when they became hard to maintain in the core library.

Adoption history

LibRaw was adopted broadly because camera vendors produce many undocumented or semi-documented RAW formats and applications need a maintained decoding layer. Its official documentation describes embedding in RAW converters, data analyzers, and other programs that use RAW files as input, and its supported-camera list spans phone cameras, drones, cinema cameras, DSLRs, and mirrorless systems.

How it is used

Homebrew installs the library and sample utilities such as dcraw_emu, raw-identify, simple_dcraw, and postprocessing_benchmark. Developers use the API when they need to identify cameras, read RAW metadata, unpack sensor data, or feed image data to a separate conversion pipeline.

Why package nerds care

LibRaw is one of the cleaner examples of turning a famous single-file Unix utility into a library package. It matters to maintainers because many graphics applications can share one camera-support substrate instead of vendoring dcraw snapshots or maintaining format decoders independently.

Timeline

  • 1997: Dave Coffin's dcraw copyright lineage begins, later forming LibRaw's base.
  • 2008: LibRaw project launched from dcraw.c.
  • 2015: LibRaw records dcraw support being reduced to a minimum.
  • 2018: LibRaw records dcraw support ceasing, with camera-format support handled by the LibRaw team thereafter.
  • 2026: LibRaw documentation and supported-camera pages described the 0.22 camera support generation.

Related projects

  • LibRaw is related to dcraw, RawDigger, FastRawViewer, RAW converter applications, camera-specific RAW formats such as CRW, CR2, NEF, RAF, DNG, MOS, KDC, and DCR, and the LibRaw demosaic pack projects.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
4channelsexecutableindexed executableDiscovered from the local executable index.
dcraw_emuexecutableindexed executableDiscovered from the local executable index.
dcraw_halfexecutableindexed executableDiscovered from the local executable index.
half_mtexecutableindexed executableDiscovered from the local executable index.
mem_imageexecutableindexed executableDiscovered from the local executable index.
multirender_testexecutableindexed executableDiscovered from the local executable index.
postprocessing_benchmarkexecutableindexed executableDiscovered from the local executable index.
raw-identifyexecutableindexed executableDiscovered from the local executable index.
rawtextdumpexecutableindexed executableDiscovered from the local executable index.
simple_dcrawexecutableindexed executableDiscovered from the local executable index.
unprocessed_rawexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version0.22.2
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:libraw
Version0.22.2
Package managerHomebrew
Homepagehttps://www.libraw.org/
Repositoryhttps://github.com/LibRaw/LibRaw
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation