package artifact import _ "embed" // styleReferenceJPEG is the bundled fallback style used for tasks that do not // have their own uploaded style reference. In the RIFT v2.8 pipeline it is no // longer used to define the global character identity: character_anchor.png is // generated independently, while every card receives the global character // anchor plus a task-specific (or this default) style reference. // //go:embed assets/style_reference.jpg var styleReferenceJPEG []byte // DefaultStyleReferenceJPEG returns a copy of the bundled fallback reference so // the authenticated/admin and public task-style preview handlers can render the // same fallback that the image worker will use. func DefaultStyleReferenceJPEG() []byte { out := make([]byte, len(styleReferenceJPEG)) copy(out, styleReferenceJPEG) return out }