gui working. need to support cmyk jpeg