{"version":"2.1.324","anchor":"theme-image-backdrops-read-through-a-safe-handle","canonical_anchor":"theme-image-backdrops-read-through-a-safe-handle","heading":"Plugin themes can use a JPEG or PNG image as a backdrop","tier":"use","area":"Themes","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/theme-image-backdrops-read-through-a-safe-handle","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Plugin themes can use a JPEG or PNG image as a backdrop\n\n`theme.set` can take an image backdrop, which must be a JPEG or PNG under a size cap and is read from the mod's file safely\n\n**What**\n\nThe backdrop passed to `theme.set` can now be an image as well as a scene. The image comes from the plugin mod's own file and is read in a guarded way. It must be:\n\n- a JPEG or PNG file\n\n- under a size cap\n\nIf it is not, `theme.set` fails with an error such as \"it has to be a JPEG or PNG file\".\n\n**Why**\n\nPlugin mods can set a still image as the background, as long as the file meets these rules.\n\n- Area: Themes\n- Names: `theme.set`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}