File: ReadMe.txt

package info (click to toggle)
ghostscript 10.05.1~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 93,508 kB
  • sloc: ansic: 908,895; python: 7,676; cpp: 6,534; cs: 6,457; sh: 6,168; java: 4,028; perl: 2,373; tcl: 1,639; makefile: 529; awk: 66; yacc: 18
file content (71 lines) | stat: -rw-r--r-- 2,015 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
                                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.

On unix, the file can be built using:

 make api_test

run using:

 make run_api_test

and cleaned up using:

 make post_api_test


                            multi_test
                            ~~~~~~~~~~

This is a simple VS2019 project that loads the gpdl dll and drives
multiple instances of it from the gsapi functions.

It is intended as a simple demonstration of how to use multiple
instances of the ghostscript library at once; in this case many
ghostscript instances run in parallel within a single process
to convert several different documents at a time.

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.

On unix, the file can be built using:

 make multi_test

run using:

 make run_multi_test

and cleaned up using:

 make post_multi_test