Added auto-conversion to jpg for getting descriptors