Decode and enroll images from strings in C API

@jklontz So close! Any ideas for the segfault?