http://writeasw4b635r4o3vec6mu45s47ohfyro5vayzx2zjwod4pjswyovyd.onion/matt/tag:golang
In short, Go’s standard image/jpeg library tosses out metadata when you decode an image to transform it, as we do for images uploaded to Snap.as . So preserving that metadata means first parsing it out, running the transformations, then writing it back to the image when you encode it with the new transformations.