This commit is contained in:
Louis Dalibard 2024-12-24 16:44:59 +01:00
parent 1cd71d7210
commit 3f5656bd3b

View File

@ -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