fix RLE and DCT in compression routines
add colorspace conversion clamping
add decompression flags
add command line help
free resources after successful procssing
tweak test expectations