OptionalbackgroundSolid background color, drawn under everything.
OptionalcolorText color. Defaults to white.
OptionalencodeEncoder settings.
OptionalfontBlob id of the face to set it in, or omitted for the one the module carries.
OptionalfooterA small line at the bottom, for a site name or a date.
OptionalfooterFooter size. Defaults to a quarter of the title.
OptionalformatContainer to encode as. Defaults to PNG.
OptionalheightCard height. Defaults to 630.
OptionalimageAn image to cover the card with, under the text.
OptionalmutedSubtitle and footer color. Defaults to OgOptions.color at 70% alpha.
OptionalpaddingHow much of the card the text keeps clear of the edges. Defaults to 64.
OptionalshadowA shadow under the text, which is what keeps a headline readable over a photograph.
OptionalsubtitleThe line under it.
OptionalsubtitleSubtitle size. Defaults to two fifths of the title.
OptionaltitleThe headline.
OptionaltitleTitle size in pixels. Defaults to a tenth of the height.
OptionalwidthCard width. Defaults to 1200, which is what the OG spec asks for.
What og takes.