Export
Export["file.ext", expr] exports data to a file, converting it to the format corresponding to the file extension.
Export[file, expr, "fmt"] exports data in the specified format.
Examples
Export to a file:
Export["data.csv", {{1, 2}, {3, 4}}]Export an image:
Export["plot.png", RandomImage[]]Frontend-rendered output
Labels, legends, insets, LaTeX, and other frontend elements can finish rendering asynchronously. If PDF Export captures the expression before every element is ready, use the "ExposureTime" option to wait before capture:
Export["plot.pdf", expression, "ExposureTime" -> 6]"ExposureTime" is measured in seconds. Increase it only as much as needed for the complete expression to appear.
PDF Export requires the WLJS Notebook Desktop application and is not available in server mode. The same limitation and "ExposureTime" option apply to Rasterize.
Export as PDF
Use .pdf extension to convert an expression to PDF
Export["expr.pdf", Plot[x, {x,0,1}]]Something isn't working? Report an issue.
Please visit the official Wolfram Language Reference for more details.