PCL Adaptive Compression of bitmap data

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.
 
W

Warren Block

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
 
P

Phil Turner

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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top