Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ change between minor versions.

## Unreleased

## 0.1.0

The first release.

### Added

- Repository foundations: licence, documentation, code of conduct, security policy, issue and pull request templates,
Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

A pure managed .NET library to read the raw files of digital cameras. The first supported format is the **Nikon NEF** of the
Z 6: metadata without decoding any pixel, the embedded JPEG preview, and the raw sensor mosaic with what is needed to process
it (colour filter pattern, active area, black and white levels, as-shot white balance). The sister library of
it (colour filter pattern, active area, black level, as-shot white balance). The sister library of
[Eleris.FitsNet](https://github.com/sputier/fits-net) and [Eleris.TiffNet](https://github.com/sputier/tiff-net).

**Status: pre-release, under construction.** Nothing is published yet and the API is not stable before 1.0. The roadmap is in
the [issues](https://github.com/sputier/raw-net/issues).
**Status: first release (0.1.0).** The API is not stable before 1.0. The roadmap is in the
[issues](https://github.com/sputier/raw-net/issues).

Targets: net10.0, no dependency, no native code, compatible with trimming and NativeAOT.

## Goals

- **Fast metadata**: capture date and time, exposure, ISO, camera, lens, image size and colour filter pattern, read without
decoding the pixels.
- **The raw mosaic as integers**, unscaled, with the active area, the black and white levels and the white balance as shot.
- **The raw mosaic as integers**, unscaled, with the active area, the black level and the white balance as shot.
- **The embedded preview**, cheaply.
- **Typed errors**: an unsupported camera, an unsupported compression or a damaged file fails with a `RawException`, never
with an unrelated exception, and a hostile file cannot exhaust the memory of the application.
Expand Down Expand Up @@ -55,8 +55,12 @@ ushort[] mine = new ushort[m.ImageWidth * m.ImageHeight];
file.Decode(mine); // or into a buffer you reuse
```

What is implemented, and what is next, is tracked in the [issues](https://github.com/sputier/raw-net/issues): the metadata, the
previews and the mosaic work today; the levels and the white balance come next.
The black level and the as-shot white balance are on the metadata and on the image (`m.BlackLevel`, `m.WhiteBalance`, `image.BlackLevel`, `image.WhiteBalance`); they are not applied to the samples.

## What is supported

- **Nikon Z 6 NEF**: metadata, the embedded JPEG previews, the raw mosaic when it is uncompressed or lossless-compressed (12 and 14 bits), the black level (red, green, green, blue pattern, 14 bits) and the as-shot white balance of the plain record. Checked on 570 real files of a Z 6 (all of them lossless-compressed, 14 bits); the uncompressed and 12 bit paths are checked with synthetic files only.
- **Not yet**: the lossy compression, the white level, the white balance of the scrambled record, other bodies and other makers. Each has an [issue](https://github.com/sputier/raw-net/issues); a file that needs one of them fails with a typed `RawException`, or gives a null value, never a wrong one.

## Build and test

Expand Down
2 changes: 1 addition & 1 deletion src/Eleris.RawNet/PACKAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ A pure managed .NET library to read camera raw files, starting with the Nikon NE
pixel, the embedded JPEG preview, and the raw sensor mosaic. net10.0, no dependency, no native code, compatible with
trimming and NativeAOT.

**Status: pre-release.** The first version is being built; the API is not stable before 1.0.
**Status: first release (0.1.0).** The API is not stable before 1.0.

The documentation is in the [repository](https://github.com/sputier/raw-net).