yes
This commit is contained in:
parent
1cd71d7210
commit
3f5656bd3b
@ -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