Skip to content

Convert Photoshop curve file into polynom interpolations, for further use with image processing libraries

Notifications You must be signed in to change notification settings

rocketlobster/curver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Convert Photoshop curve file into polynom interpolations, for further use with image processing libraries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages