sahilarora535 / cups-filters-gsoc-2017 Goto Github PK
View Code? Open in Web Editor NEWGSoC 2017 - Add PCLm support to CUPS FILTERS
License: Other
GSoC 2017 - Add PCLm support to CUPS FILTERS
License: Other
The PCLm file Magic Number format should be:
%PDF-1.4
%PCLm-VERSION_NUMBER
However, this cannot be done using QPDF
. For adding additional headers, QPDFWriter
object has a function setExtraHeaderText(std::string const&)
. When used, the PCLm Magic Number gets added to the third line of the PCLm file, rather than the second line. The resulting file looks like:
%PDF-1.4
%BINARY_ENCODING
%PCLm-1.0
For streams with large size, i.e. large width
and height
, the DCT_DECODE
compression for compressing the image fails. For instance, for this 600dpi raster file and strip height = 32, the PCLm file is empty, whereas for strip height = 6 and below, we get the PCLm file successfully.
The reason can be that there is a limit on the dimensions of the image using libjpeg
. width
and height
are of type JDIMENSION
in libjpeg
. See the following blob in libjpeg
which defines the type JDIMENSION
:
The following Wiki article:
states: "CUPS-FILTERS is a software which is shipped with CUPS [....]"
This is not correct. CUPS-FILTERS is NOT shipped with CUPS!
CUPS-FILTERS nowadays is maintained by the Linux Foundation (even though that parts of its code are based on sources which were inherited from CUPS resp. donated and transferred to the Linux Foundation by Apple for future maintenance).
Most Linux distributions integrate and patch the original CUPS and bundle it with CUPS-FILTERS so that, in essence, CUPS-FILTERS constitutes as a third-party add-on module to the original CUPS maintained by Apple so that CUPS can be used on Linux.
The above statement is may mislead users to direct complaints and bug reports regarding CUPS-FILTERS (wrongly) towards Apple and the original CUPS maintainers.
Hence it would be nice if you changed the above Wiki sentence to reflect this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.