add dct for whole images
fix color value wrapping bug
use colorspace conversion in test
cleanup
add mock commandline ui