example of operating image with golang