Flutter LibRaw
The Flutter LibRaw package aims to provide the ability to read camera RAW files to Dart/Flutter applications.
This package is a wrapper around the C/C++ LibRaw library using Dart FFI.
Note that this project is still in its early stages and so may not yet provide complete/full functionality. We will be building up functionality over the next few months through numerous small iterative releases.
Table of Contents
About The Project
The Flutter LibRaw library provides a simple and unified interface for extracting the following out of RAW files generated by digital photo cameras:
- RAW data (pixel values)
- Metadata necessary for processing RAW (geometry, CFA / Bayer pattern, black level, white balance, etc.)
- Embedded preview / thumbnail.
The library is intended for use with programs that work with RAW files, such as:
- RAW viewers
- RAW converters
- RAW data analyzers
Using the Flutter LibRaw library allows one to focus on the substantive part of processing the data contained in RAW files, without getting distracted by the wide variety of RAW file and metadata formats, compression algorithms, etc.
Features
- Support for RAW files from a wide variety of cameras.
Getting Started
Add the package as a dependency.
Installation
Add the package to your dependencies.
pub add flutter_libraw
Import Package
Import the library in your code.
import 'package:flutter_libraw/flutter_libraw.dart';
Usage
See the User Guide for detailed information.
Roadmap
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Limeslice Software Foundation https://limeslice.org
Acknowledgments
We would like to thank the authors of the LibRaw package which provided the basis for this package.
The LibRaw package is copyright (C) 2008-2024 LibRaw LLC
LibRaw uses code from Dave Coffin’s dcraw.c utility (without RESTRICTED/GPL2 code):
Copyright 1997-2018 by Dave Coffin, dcoffin a cybercom o net LibRaw uses DCB demosaic code by Jaceck Gozdz distributed under BSD license:
Copyright (C) 2010, Jacek Gozdz (cuniek@kft.umcs.lublin.pl) LibRaw uses Roland Karlsson’s X3F tools source code, licensed under BSD license:
Copyright (c) 2010, Roland Karlsson (roland@proxel.se)
Limitation of Liability
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Libraries
- flutter_libraw
- The Flutter LibRaw package aims to provide the ability to read camera RAW files to Dart/Flutter applications.