]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
libcupsfilters: Update comments about filter functions in filter.h
authorTill Kamppeter <till.kamppeter@gmail.com>
Sat, 3 Sep 2022 18:08:14 +0000 (20:08 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Sat, 3 Sep 2022 18:08:14 +0000 (20:08 +0200)
The filter functions cfFilterGhostscript() and cfFilterPWGtoPDF()
allow the output format also to be supplied as parameter and not
only via filter data structure.

cupsfilters/filter.h

index 233fc628ad0d1bd9889be4d52caa66efdf525b8b..d337e1c699a98150ed14b57e9388d5d40d4f82d4 100644 (file)
@@ -193,6 +193,7 @@ extern int cfFilterGhostscript(int inputfd,
                               void *parameters);
 
 /* Requires specification of output format via data->final_content_type
+   or alternatively as parameter of type cf_filter_out_format_t.
 
    Output formats: PDF, raster-only PDF, PCLm, PostScript, CUPS Raster,
    PWG Raster, Apple Raster, PCL-XL
@@ -330,6 +331,7 @@ extern int cfFilterPWGToPDF(int inputfd,
                               void *parameters);
 
 /* Requires specification of output format via data->final_content_type
+   or alternatively as parameter of type cf_filter_out_format_t.
 
    Output formats: PDF, PCLm */