ImageDescriptor, fix c buffer reference