4Mastery

Export and share

Getting work out of Rayzia splits into four jobs: keeping it safe while you draw, keeping it on your account, handing a picture to someone else, and keeping a lossless copy for yourself. Each one uses a different mechanism, and it is worth knowing which is which. This lesson covers all four, and the two places Pro comes into it.

You do not need to save

Rayzia is local-first. As you draw, the whole document is snapshotted into your browser's storage roughly 1.2 seconds after your edits settle, or about 5 seconds after a view-only change like a pan or zoom. There is another flush when you hide or close the tab. Identical snapshots are skipped, and a write that fails is retried rather than quietly assumed to have worked.

Reload the page and the session comes back through the normal open path, so your zoom, your pan and your document settings return as they were. There is no Save button to remember and no dialog in the way.

Autosave lives in the browser on that one device. It is not a backup and it is not the cloud. Its record is deliberately lean: fonts are not embedded, so Google fonts you used are re-fetched when the session restores. Only the .rzv file export carries fonts inside it.

Cloud files, and the pill that tells you the truth

Sign in and the same snapshot is also pushed to your account after a 4 second quiet window. The status pill sits to the left of the account chip and reads saving…, saved, retry… or full, Upgrade. When you are signed out the pill is hidden, because nothing is going anywhere.

Local storage stays the source of truth. The cloud copy follows it. A device binds to one cloud document at a time, and that binding is cleared when you start a new document or open a file from disk or Drive. A blank page never burns a slot: the document has to have real content before it claims one.

  • Free and Pro alike: as many cloud documents as you like. Free has limited cloud storage and Pro has more; a full store deletes nothing, it only pauses new saves.
  • Either plan: any single document is capped at 50 MB.
  • Limits are enforced by the server, not by the button.

Your documents live at /files/, which needs a sign-in. It has Recents, Starred and Shared sections, and each file has a menu with Open, Rename, Duplicate, Star, Share, Download .rzv and Delete. Starring is stored on the device only.

Export: three quick formats, or the full dialog

File ▸ Export gives you SVG, PNG and JPG. The engine serialises the scene, then the page either downloads the SVG text or rasterises it through a canvas at quality 0.95. PNG keeps transparency. JPG gets a white background painted behind it first, because JPEG has no alpha. The command bar's Export icon opens the same three.

File ▸ Export ▸ Batch export is the real one. Tick the pages you want, then the sizes and the formats. The foot of the dialog counts the files before you press Export: each page at each size in each format is one file, named like document@2x.png. A PDF is one file per page, at the largest size you ticked.

  1. Choose pages Every page of the document is listed, with Select all and Clear at the top. Add selection names what you have selected and lists it too.
  2. Choose sizes 0.5x, 1x and 2x on any plan. 3x and 4x with Pro or the 14-day trial.
  3. Choose formats PNG, JPG, SVG and WebP on any plan, and PDF with Pro or the 14-day trial.
  4. Export SVG output is the scene re-cropped through the viewBox. The raster formats go through a canvas at 0.92 quality. PDF is a high-resolution JPEG wrapped in a minimal PDF sized to the crop.
These need Pro or the 14-day trial, which needs no credit card: 3x and 4x, the PDF format, a transparent background, and exporting a design that uses a premium asset, the ones with a Pro badge. Each wears a crown, and pressing one opens the upgrade dialog. The plan is read from your account, not from the page.

Share links

The Share button in the editor, or Share on any file on the files page, makes a view-only public link at /shared/<token> for you to copy. Both Free and Pro can share. The link stays the same however many times you press Share or copy it, so the one you already sent keeps working. Stop sharing ends it, a dead link says so plainly, and sharing again makes a new link, so the stopped one stays dead.

The viewer is deliberately dull. It renders the document through a blob URL image, so a hostile SVG cannot run script at a visitor. It shows the document name, a view-only footer and an Open Rayzia link. The page is noindex.

Share links work the same on Free and Pro, and the API does not leak who the owner is.

The .rzv file

File ▸ Save Rayzia (.rzv) downloads the lossless native document. It is a small binary container: a header, then typed chunks for the scene, the camera, document metadata, swatches, artboards, guides, the grid, font and image bytes, and a renderable preview. Text payloads over 64 bytes are gzipped, and unknown chunk types are skipped on read so old builds and new files can coexist.

The important part is fonts. The .rzv snapshot embeds the fonts you actually used, which is what makes the file portable to another machine. An SVG export does not do that. Older SVG-based .rzv files still open and are migrated to the new container the next time you save.

Two honest caveats. The native format is still described in its own spec as a prototype, wired into Save and Open. And the Download .rzv button on the files page streams back what the cloud stores, which is the SVG-based form, not the binary container. Use File ▸ Save Rayzia if you want the embedded-font copy.

Opening files made in other apps

File ▸ Open reads more than SVG. PDF, EPS and PostScript, .ai, EMF and WMF, and DXF all open as artwork you can edit: paths stay paths, text stays live text where the file kept it, and pictures come in as images. File ▸ Place, or dropping one of these files on the canvas, puts its first page into the design you already have.

  • A .ai file, or an EPS or PDF saved with its editing data, opens from that data: its layers keep their names, a hidden layer stays hidden, and art lying outside the page is kept.
  • A PDF opens one artboard per page. A plain EPS or PostScript file opens with its spot colours in the swatches, and one artboard per page.
  • Layer names that older software wrote in Thai, Cyrillic or Central European letters come back in their own alphabet.
  • A DXF drawing opens with its layers. EMF and WMF open as vector shapes.
The reader for these formats is fetched the first time you open such a file, so the editor starts just as fast as before. If it cannot be fetched (no connection), the file is not opened, a message says so, and your document is left as it was.

A note on the shortcut labels

The File menu prints accelerators next to Save, Open, Place Image and the rest. Do not trust them. The menu's shortcut text is cosmetic and the table that would have turned those labels into working keys does not run in this build. The menu items themselves work perfectly when clicked. Click them.

This is a real defect, not a design choice, and it is on the list. Until it is fixed, treat every key printed in the menu as decoration.

Common questions

If autosave already keeps my work, why sign in?

Autosave is one browser on one device. Clear your site data or move to a different machine and it is gone. Signing in copies the same snapshot to your account so the document follows you, and it is what makes share links possible. Free has no limit on cloud documents.

Which export should I use for a website?

SVG, unless you have a reason not to. The Rayzia document is SVG natively, so the export is the artwork rather than a picture of it: it scales, it stays small, and text stays text. Use PNG when you need a fixed raster with transparency, and JPG only for photographic content where the white background does not matter.

What exactly is Pro-gated in export and sharing?

3x and 4x, PDF export, a transparent background, and exporting a design that uses a premium asset: each asks you to go Pro or start the 14-day trial. Pro also has more cloud files and storage. 0.5x to 2x, PNG, JPG, SVG and WebP, sharing and the .rzv file are on Free.

Can I get an old version of a document back?

Not from the interface today. Pro accounts do retain past revisions on the server and the API can fetch a specific one, but there is no panel in the editor or on the files page that browses them yet. If a version matters to you right now, save a .rzv copy.