s_strdup take a const char* string.
image-info now receives the size of pos of the picture as arguments.
Updated man page.
Updated example.