summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'demos/c/ReadMe.txt')
-rw-r--r--demos/c/ReadMe.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/demos/c/ReadMe.txt b/demos/c/ReadMe.txt
new file mode 100644
index 00000000..16c4d9de
--- /dev/null
+++ b/demos/c/ReadMe.txt
@@ -0,0 +1,31 @@
+ api_test
+ ~~~~~~~~
+
+This is a simple VS2019 project that loads the gpdl dll and drives
+it via the gsapi functions.
+
+The first test feeds a variety of input formats into gpdl to create
+output PDF files. Next, mixtures of different format files are fed
+into the same instance, hence generating output PDF files collated
+from different sources.
+
+Finally, the display device is driven in a range of different
+formats, testing different alignments, chunky/planar formats,
+spot colors, and full page/rectangle request modes.
+
+These tests take a while to run, and will result in the outputs
+being given as apitest*.{pnm,pam,png,pdf}.
+
+A good quick test of the results is to run:
+
+ md5sum apitest*
+
+and you should see that the bitmaps produced group nicely into
+having the same md5sum values according to their color depths.
+
+The same code should compile and run on unix, but has not been
+tested there. Some fiddling to load the DLL may be required.
+
+Building with GHOSTPDL=0 will allow the Ghostscript DLL to be
+tested. The VS2019 project will need to be edited to use the
+appropriate .lib file too.