I found a new host that doesn't watermark the images.
Like huhn I assume it is done at the end, right before the 3DLUT. I don't feel comfortable placing it on an image because we don't actually know exactly when it happens. If anyone has any evidence for when HDR->SDR happens I would be happy to take a look.