LibRawGo

command module
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 1 Imported by: 0

README

LibRawGo

A wrapper around libraw written for GO using SWIG Currently tested on

  • Linux (64bit)

Getting Started

These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.

  • fork the repository
  • clone a local copy
  • make changes
  • submit a PR
Prerequisites

LibRawGo depends on having the correct version of libraw installed on your system. Currently it is tested with v0.20.0

Most linux distros have this version available on their package manager. If not you can build a copy and install it.

Installing

To include this library in your go project, install it by running go install github.com/MRHT-SRProject/LibRawGo/librawgo and include it in your project. Or include github.com/MRHT-SRProject/LibRawGo in your project and run go mod tidy

Usage

This wrapper wraps the C API for libraw. See their documentation for more usage details.

package libraw

import (
	raw "github.com/MRHT-SRProject/LibRawGo/librawgo"
)

func TestLibRaw() **uint16 {
	lr := raw.Libraw_init(0)
	raw.Libraw_open_file(lr, "/home/rich/code/camcapture/libraw/city.ARW")
	return lr.GetImage()
}

Running the tests

TODO

Sample Tests

TODO

Style test

TODO

Built With

Versioning

We use Semantic Versioning for versioning. All production versions start at 1.x and the sub-versions match the version of libraw. For the versions available, see the tags on this repository.

Authors

  • Richard Baird

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • libraw for writing such a useful library!
  • Billie Thompson - Provided README Template - PurpleBooth

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL