Project

curver

0.0
No commit activity in last 3 years
No release in over 3 years
Convert your Adobe curves files to polynom functions
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.5

Runtime

~> 1.0
 Project Readme

Curver (ACV Exporter)

Convert Adobe Photoshop curves files into polynoms, for further use with image processing libraries (ImageMagick, Javascript canvas, etc.)

Installation

gem install curver

Or in Gemfile :

gem 'curver'

Usage:

acv = Curver.new('path/example.acv')
acv.polynoms

Settings

You can specify the polynom_degree, the max_value that you want, or the polynom_precision. By default :

Curver.polynom_degree    = 6
Curver.max_value         = 255 
Curver.polynom_precision = 3   

255 is the max_value used for ImageMagick. For canvas image processing, max_value of 1 is more convenient.