Recent

Author Topic: libRAW for Lazarus - reading Camera RAW file formats  (Read 258 times)

Tomxe

  • New Member
  • *
  • Posts: 37
libRAW for Lazarus - reading Camera RAW file formats
« on: February 16, 2025, 04:41:58 pm »
https://github.com/Xelitan/LibRAW-for-Delphi-Lazarus-Free-Pascal/
License: MIT

Usage example:
Code: Pascal  [Select][+][-]
  1. Image1.Picture.LoadFromFile('test.raw');
  2. Image1.Picture.LoadFromFile('test.dng');

This unit uses libraw.DLL: https://www.libraw.org

LibRaw is distributed under two different licenses:

- GNU Lesser General Public License, version 2.1
- COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0

Pretty much every camera raw format should work.

.3fr (Hasselblad)
.arw, .srf, .sr2 (Sony)
.bay (Casio)
.cap, .cs1 (Capture One)
.crw, .cr2, .cr3 (Canon)
.dcr, .dcs, .drf, .k25, .kdc (Kodak)
.dng (Adobe/Generic, used by Leica, Ricoh, etc.)
.erf (Epson)
.iiq (Phase One)
.mef (Mamiya)
.mos (Leaf)
.mrw (Minolta)
.nef, .nrw (Nikon)
.orf (Olympus/OM System)
.pef, .ptx (Pentax)
.raf (Fujifilm)
.raw, .rwl (Leica/Panasonic)
.rw2 (Panasonic/Leica)
.srw (Samsung)
.x3f (Sigma)

MarkMLl

  • Hero Member
  • *****
  • Posts: 8320
Re: libRAW for Lazarus - reading Camera RAW file formats
« Reply #1 on: February 16, 2025, 10:05:40 pm »
An xref to the thread at https://forum.lazarus.freepascal.org/index.php/topic,70199.msg546825.html might be useful for anybody getting her via Google etc., although when I started it I was frustrated by a JPEG image.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018