Python Forum
CPC File Format (Cartesian Perceptual Compression) - Can Python Convert / Handle Them
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CPC File Format (Cartesian Perceptual Compression) - Can Python Convert / Handle Them
#1
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?
Reply
#2
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.
buran and PSKrieger like this post
My code examples are always for Python >=3.6.0
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#3
(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.
DeaD_EyE likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] How to convert the CSV text file into a txt file Pinto94 5 151 Dec-23-2020, 08:04 AM
Last Post: ndc85430
  Convert date integers (ex. 43831) to regular format Galven 2 186 Nov-15-2020, 11:38 PM
Last Post: bowlofred
  Convert file of hex strings to binary file medatib531 4 422 Oct-09-2020, 05:42 PM
Last Post: DeaD_EyE
  How to convert what appears to be a JSON file to CSV NewBeie 4 412 Aug-28-2020, 04:45 PM
Last Post: Larz60+
  Convert .py script to dll file and .exe srikanthpython 0 425 Aug-20-2020, 06:01 PM
Last Post: srikanthpython
  Need help implmenting if/else or case statements for option to choose file format. samlee916 1 316 Jul-22-2020, 06:06 PM
Last Post: Larz60+
  Convert py file to exe SmukasPlays 12 878 Jul-20-2020, 07:11 PM
Last Post: princetonits
  Convert Excel file to Text file marvel_plato 6 1,051 Jul-17-2020, 01:45 PM
Last Post: marvel_plato
  copy/pasting in excel WHILE keep file format zarize 0 344 Jun-23-2020, 03:51 PM
Last Post: zarize
  Generate Cartesian Products with Itertools Incrementally CoderMan 2 349 Jun-04-2020, 04:51 PM
Last Post: CoderMan

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020