added custom palette extraction
updated version and documentation