I've attached a C++ example of how to generate a quaternion Julia set and output it to the manifest and PNG files needed for the SVX format (grayscale, 8-bit, 1 channel). You must zip up the manifest and PNG images yourself -- see: http://abfab3d.com/svx-format/ for an example of how the ZIP file is organized (ie. PNG files go into the density/ directory). The example uses the LodePNG library -- http://lodev.org/lodepng/ -- to save the PNG files used by the SVX format. Lode Vandevenne also helped me with some code. If you have any questions or problems, please let me know. Altered the code to use overloaded operators.