Adapt format.go from the image package Change the only package level state variable to a function parameter Load entire files into memory for performance
Adapt format.go from the image package Change the only package level state variable to a function parameter Load entire files into memory for performance