Colorspace conversion fixed, added adapter option, added some samples