Add SupportedFormats() function
Use freeMagickMemory to release the memory
Document exported functions and types in image.go