Removed warning for CMake on non-Windows platform.
Corrected return type for get_image_array_size.
TypedValue clone() function now a member method.
Moved Image object definition to common.h.