taviso / 123elf

A native port of Lotus 1-2-3 to Linux.
1.18k stars 59 forks source link

PIC files? #119

Open nashjc opened 1 year ago

nashjc commented 1 year ago

I've some graphs saved as PIC files. Any suggestions for viewing / printing them? And thanks for getting this running -- allows at least some old material to be recovered.

JN

taviso commented 1 year ago

Do you have an example file I can look at?

I think PIC might be another name for CGM, which is what this version of 1-2-3 generates.

The only program I know of that can read and print them is wpunix, I'm not sure if that is very helpful! If you did want to try that, I think you would do this:

  1. Install wpunix.
  2. Press Ctrl+Shift+F9,1,1 (or go to Graphics > Figure > Create)
  3. Press 1 (filename), then enter /path/to/filename.pic.
  4. Then you can press F7 to add the figure to a document.
  5. Then you can view or print the file.

I've heard that uniconverter can handle them (you might need to rename it file.cgm), but I haven't verified that.

kieranjol commented 1 year ago

There are some example files here: https://telparia.com/fileFormatSamples/image/lotusChart/ and http://justsolve.archiveteam.org/wiki/Lotus_1-2-3_Chart I tried your steps in wpunix and it did not seem to work:

Screenshot 2023-07-12 at 10 11 45 Screenshot 2023-07-12 at 10 12 07

Any PIC file that I try just has that 'fig' display and I don't see any graph data.

kieranjol commented 1 year ago

Also,

 uniconvertor BAR10.cgm  outoutout.png
ERROR  | Loader is not found for /tmp/magick-6817qyHgj0Dard9D
ERROR  | Input file format of "/tmp/magick-6817qyHgj0Dard9D" is unsupported.
STOP   | Translation is interrupted
For details see logs: /home/kieran/.config/uc2/uc2.log
kieranjol commented 1 year ago

I was able to print it out and I can see the graph now!