Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zerocustom1989

macrumors regular
Original poster
Hey guys,

I need to convert some thinkjet format (.TJ) files to something i can view.

Google is turning up nothing but a unix command called thinkjettopbm that will convert the file to a pbm image file.

http://netpbm.sourceforge.net/doc/directory.html#converters

I have no idea how to use this thnkjettopbm command or how to install it.

I dont know much about Unix. Is there any help you guys can give me?

For some reason the silly oscilloscopes in my lab were set to save data in this format.
 
I have no idea how to use this thnkjettopbm command or how to install it.

Assuming it is like al the other ...2pbm programs it is a "filter"

To install it just put the executable file some place on the disk.

Then just run it in the terminal
Code:
./thnkjettopbm myfilename.tj
notice that a pbm file is printed to the terminal. This is useless to you want tocapture it to a file. try this (while being in the directory where thnkjettopbm was saved)
./thnkjettopbm myfilename.tj >> myfilename.pbm
now you have a pbm file. You can convert this to something like .jpg if you have pbmtojpg by using something like the above on the .pgb file or you can chain the two conversions togeter into one step like this
Code:
thnkjettopbm myfilename.tj | pbmtojpg >> myfilename.jpg

To install the program more permanently copy it to /usr/bin.
 
./thnkjettopbm myfilename.tj >> myfilename.pbm

I would use instead

./thnkjettopbm myfilename.tj > myfilename.pbm

If there is an existing file with the same name, it will be overwritten rather than corrupted. If not, whatever. Either one will work fine.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.