`renderBase64` accepts format option I think we should do the same too