yes
This commit is contained in:
parent
b907157d5f
commit
ca28ac4982
@ -22,7 +22,7 @@ mainProcess (polarity,primaryScaleDark,primaryScaleLight, input, output) = do
|
|||||||
setStdGen $ mkStdGen 0
|
setStdGen $ mkStdGen 0
|
||||||
|
|
||||||
image <- loadImage input
|
image <- loadImage input
|
||||||
palette <- evolve (polarity, convertRGB8 image)
|
palette <- evolve (polarity, primaryScaleDark, primaryScaleLight, convertRGB8 image)
|
||||||
let outputTable = makeOutputTable $ V.map lab2rgb palette
|
let outputTable = makeOutputTable $ V.map lab2rgb palette
|
||||||
|
|
||||||
writeFile output $ encode outputTable
|
writeFile output $ encode outputTable
|
||||||
|
Loading…
Reference in New Issue
Block a user