Import largestByLuminosity function from pnmcolormap.c
Add new parameter for selecting method for detecting largest splitting dimention
Minor fix around creating histgram
Minor fix for creating palette
Add new function for dithering
Minor fix for the process applying palette
Add new enum for selecting dithering method
Change the signature of the helper function for dithering
Make it enable to skip dithering process