PCL Adaptive Compression of bitmap data

  • Thread starter Thread starter Phil Turner
  • Start date Start date
P

Phil Turner

Does anyone know how to decode PCL image data when encoded for
'Adaptive Compression' ?

I have some PCL code which defines an image with <ESC>*b5M and I'm
trying to decode the data back into an image file.
or, are there any tools out there to do it for me?

I have used 'PCLCodes' from Page Technologies to dump the data in a
text format but I cant yet figure out how the decoding has been done.
 
Phil Turner said:
Does anyone know how to decode PCL image data when encoded for
'Adaptive Compression' ?

I have some PCL code which defines an image with <ESC>*b5M and I'm
trying to decode the data back into an image file.
or, are there any tools out there to do it for me?

I have used 'PCLCodes' from Page Technologies to dump the data in a
text format but I cant yet figure out how the decoding has been done.

This page has links to PCL documents:

http://www.undocprint.org/formats/page_description_languages/pcl

And this one describes how adaptive compression works:

http://www.undocprint.org/_media/fo...ts:page_description_languages:pcl&cache=cache
 
Warren said:

Thanks for the reply.
I am now decoding the data but I get a different number of bytes per
scan row.
The image is supposed to be 250 pixels wide although it may have been
padded to 320.
I am getting anywhere from 900 to 18000 bytes.
It's possible that this is a coloured image but I dont know how to
breakdown the data from this point onwards.

Any ideas ?
 
Back
Top