
working with CBF file in Igor Pro

rainbowincloud
I am working on CBF file recently(crystallographic binary file), which is a compressed data format, and in order to use it in Igor I need to uncompress it. there seems a C code to do that job. How can I use that code to work in igor environment? Thank you.
Cheers,
If it is not zip then we need to know how it is compressed.
If you are a C programming it looks like you can write a file loader using CBFLib .
June 30, 2012 at 06:42 pm - Permalink
the CBFLIB suppose to contain a uncompress mechanism and what I would like to achieve is to cooperate this procedure with igor. so far I didn't figure out how.
other wise we need to call the external function then, does that means I need the XOP toolkit?
July 1, 2012 at 01:15 pm - Permalink
July 1, 2012 at 01:26 pm - Permalink
I have just posted code snippet which loads in Igor Cbf images with "BYTE_OFFSET" compression. It is purely Igor code and on my Mac is reasonably fast. See here: http://www.igorexchange.com/node/5889
Sincerely
jan
July 24, 2014 at 10:22 am - Permalink
Hey jan,
nice work. Thank you.
rainbow
September 3, 2014 at 11:24 am - Permalink