LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Is there an app that will convert Windows .CAM image files? (https://www.linuxquestions.org/questions/linux-software-2/is-there-an-app-that-will-convert-windows-cam-image-files-4175693782/)

XenaneX 04-16-2021 05:21 AM

Is there an app that will convert Windows .CAM image files?
 
I'm trying to find software that will convert Windows .CMP image files to something more Linux friendly. I tried ImageMagick but not GIMP.
Saw something called ReaConverter but it's not in the PCLinuxOS repo.
Thanks for any suggestions.

mjolnir 04-16-2021 05:57 AM

If these are the types of files you are describing, qvplay may help: https://www.linuxjournal.com/article/2664

Edit: The web seems to suggest that simply renaming the file extension to .jpeg works on windows - you might try that first.

XenaneX 04-16-2021 06:43 AM

It is a CMP file. My mistake. I will try renaming it. graphicsmagick hasn't worked on it. Thanks.

shruggy 04-16-2021 06:59 AM

And what is a CMP file? Here I see four different types of CMP:
  1. Windows Connection Manager profile;
  2. HotDocs clause component file;
  3. Solid Edge Wire Harness file;
  4. Generic CADD component file.
Which one is yours?

XenaneX 04-16-2021 07:04 AM

My guess is .cmp - Microsoft SharePoint Content Migration Package

The files should be full of text.

shruggy 04-16-2021 07:08 AM

Then I doubt ReaConverter would help either. I can convert the Generic CADD component file (#4 in the list above, vector graphics) to SVG.

XenaneX 04-16-2021 07:16 AM

I'm not able to upload the file here. "not an image file". Not sure where I could upload it. email might work.

XenaneX 04-16-2021 07:19 AM

I could email a small example.

XenaneX 04-16-2021 07:29 AM

Is there an app that will convert Windows .CMP image files?
 
I'll check back later. Thanks.

shruggy 04-16-2021 07:51 AM

What is the output of file your_file.cmp?

XenaneX 04-16-2021 09:11 AM

[@localhost gm]$ file 0960217A.CMP
0960217A.CMP: data
[@localhost gm]$ gm identify 0960217A.CMP
gm identify: No decode delegate for this image format (0960217A.CMP).
gm identify: Request did not return an image.
[@localhost gm]$ file --mime-encoding 0960217A.CMP
0960217A.CMP: binary
[@localhost gm]$ gm display 0960217A.CMP
gm display: No decode delegate for this image format (0960217A.CMP).
gm display: Unable to load font (-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1).

shruggy 04-16-2021 09:45 AM

I doubt these are SharePoint CMPs then. file should have recognized them as Microsoft cabinet files. See explanations here.

Could it be a Discorp CMP image then? NConvert should be able to recognize it. But they usually end in .dcmp.

mjolnir 04-16-2021 09:56 AM

Quote:

Originally Posted by XenaneX (Post 6241726)
It is a CMP file. My mistake. I will try renaming it. graphicsmagick hasn't worked on it. Thanks.

No problem - hope you get it fixed. :)

XenaneX 04-16-2021 10:34 AM

Found XNconvert in the repo. Will give it a try.

It failed saying "not a picture"

shruggy 04-16-2021 11:28 AM

You can still try cabextract and/or gcab on it for the unlikely case it is a Microsoft cabinet, but wasn't recognized by file.

You can also try 7z if it's compressed in format recognized by 7z.

Newer versions of General CAPP use different format. I downloaded some and they show this:
Code:

$ strings -n3 file|head -2
GXD
Created with General CADD for Windows

I hope files in their old format (CMP) would show something similar.

Here they give more possibilities for what .cmp could mean.


All times are GMT -5. The time now is 05:32 PM.