started image extraction
more extraction progress
check legacy formats for code correctness
included color map and contrast
removed what seems relic for legacy which was caused by a width/height combined with a rotation bug
removed some debug statements