Python Forum

Full Version: CPC File Format (Cartesian Perceptual Compression) - Can Python Convert / Handle Them
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all.

I've been tasked with converting 1000s of archived images which are in a little-known image format called CPC or Cartesian Perceptual Compression. It isn't very widely supported anyway and looks to have been discontinued as a mainstream image format in the mid 90s.

I'm wondering if anyone knows of any library or facility in Python that might be able to do a simple, on-the-fly conversion of these images to a more recognised format such as TIFF which will be more widely handled? I know there is the Python Image Library but I can't seem to find a codec for it which would handle these files.

Any ideas or suggestions?
You could use this tool: https://www.cartesianinc.com/Products/CPCTool/
It is free to convert from cpc to other formats.
Then you can use Python to automate this.

Finally, you'll get your task done, never seeing this proprietary format again and saved money.
(Nov-11-2020, 02:44 PM)DeaD_EyE Wrote: [ -> ]You could use this tool: https://www.cartesianinc.com/Products/CPCTool/
It is free to convert from cpc to other formats.
Then you can use Python to automate this.

Finally, you'll get your task done, never seeing this proprietary format again and saved money.

That's great DeaD_EyE and thanks. I wasn't sure on the licencing model for CPC Tool because it hinted about 1000 documents only, but it wasn't until re-reading it that I realised that this only applied for conversion TO and not FROM.