You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by James Burton <ja...@gmail.com> on 2013/10/22 22:06:10 UTC

Fixing PCL size and color

Hello all,
  I'm new to all this, but am reworking the PCL render so we can use this
package to render whole page SVG to PCL.  

  We have existing java code that can take a whole page image, check to see
if it's color, if so, count the colors, then figure the best mode to send it
to the printer (24bit color, 8 bit palette, 4 bit palette, etc).  We then
compress each scan line using the best PCL compression mode.

  I currently got the compression working plugged into fop and working with
the black and white bitmaps.  The original fop code created a 805K PCL file,
the new code produces a 314K PCL file.  I'm now working on the Color.  Our
current code uses some routines from swt, need to find equivalent functions
in awt.

  We would like to donate this code back, and I heard through the grapevine
that someone else is working on the PCL module.  We would like to
collaborate with whoever is actively working on this module or would be the
committer.

  I plan to have this all wrapped up this week, so am looking for someone
who is active with this code.  


Re: Fixing PCL size and color

Posted by Luis Bernardo <lm...@gmail.com>.
I suggest you submit a patch and if the new features are compelling 
and/or there is demand for them then it will certainly be applied. It is 
true that sometimes apparently compelling features/patches, like support 
for ODF to mention one, are not necessarily applied within a reasonable 
short term, but that is due to the lack of demand for them.

On 10/22/13 9:06 PM, James Burton wrote:
> Hello all,
>    I'm new to all this, but am reworking the PCL render so we can use this
> package to render whole page SVG to PCL.
>
>    We have existing java code that can take a whole page image, check to see
> if it's color, if so, count the colors, then figure the best mode to send it
> to the printer (24bit color, 8 bit palette, 4 bit palette, etc).  We then
> compress each scan line using the best PCL compression mode.
>
>    I currently got the compression working plugged into fop and working with
> the black and white bitmaps.  The original fop code created a 805K PCL file,
> the new code produces a 314K PCL file.  I'm now working on the Color.  Our
> current code uses some routines from swt, need to find equivalent functions
> in awt.
>
>    We would like to donate this code back, and I heard through the grapevine
> that someone else is working on the PCL module.  We would like to
> collaborate with whoever is actively working on this module or would be the
> committer.
>
>    I plan to have this all wrapped up this week, so am looking for someone
> who is active with this code.
>