added options for different compression types, colordepth and font.