Gets the current image's compression type.