I am preparing SMath worksheets that include externally generated reference diagrams. Some draft visuals come from a ChatGPT Image Generator before I add dimensions and calculation notes in SMath.
What is the recommended way to keep these images portable when sharing an .sm file? Does inserting a bitmap embed it in the worksheet, or should the original PNG/JPG also be attached? I want recipients to see the diagrams without relying on a local file path.
Best and fastest way is to embed pictures in to smath file. But this method will make your file very big depending on pictures. Another way is to use DocumentDirectory() function. Keeping your pictures out of smath file and relying on dynamic paths is available. See the example below