IMG2CIF(1)
π IMG2CIF(1) β the general commands manual page, but make it cute π
okay bestie, listen up, this is img2cif from the General Commands Manual and it's genuinely so useful, no cap.
β¨ NAME β¨
img2cif β a filter that converts detector images into CBF format π¦
πΈ SYNOPSIS πΈ
img2cif [options] files...
π DESCRIPTION π
so img2cif is that program that takes an image file from a MAR180, MAR300, MAR345 or ADSC CCD detector and converts it into CBF format. iconic behaviour honestly.
and the way it gets better?? img2cif also has code to process files from stdin and to stdout, so you can literally use it in a pipe. main character energy fr fr. π«Ά
π OPTIONS π
-iinput_image β (default:stdin) you hand it the input_image file in MAR300, MAR345 or ADSC CCD detector format. but if you don't specify an input_image file, or you give it as-, then an image gets copied from stdin into a temporary file. π«-ooutput_cif β (default:stdout) this is your output cif (if base64 or quoted-printable encoding is used) or cbf (if no encoding is used). if no output_cif is specified, or it's given as-, the output goes to stdout. π-ccompression_scheme βpacked,canonicalornone, default ispacked. pick your vibe. π-m [no]headersβ (defaultheadersfor cifs,noheadersfor cbfs) selects MIME headers (N. Freed, N. Borenstein, RFC 2045, November 1996) within binary data value text fields. π-d [no]digestβ (default md5 digest [R. Rivest, RFC 1321, April 1992 using "RSA Data Security, Inc. MD5 Message-Digest Algorithm"] when MIME headers are selected). yes that's a whole mouthful, we love her anyway. β¨-eencoding βbase64,quoted-printable,decimal,hexadecimal,octalornone, default isbase64. this specifies one of the standard MIME encodings (base64 or quoted-printable) or a non-standard decimal, hexamdecimal or octal encoding for an ascii cif, or"none"for a binary cbf. π-bdirection βforwardorbackwards, default is the natural direction. this specifies the direction of mapping of bytes into words for decimal, hexadecimal or octal output, marked by>for forward or<for backwards as the second character of each line of output, and in#comment lines. π₯
π SEE ALSO π
convert_image(1), cif2cbf(1), makecbf(1).
π AUTHOR π
img2cif was written by Herbert J. Bernstein.
This manual page was written by Morten Kjeldgaard <mok@bioxray.au.dk>, for the Debian project (but may be used by others). π
April 2008 β that's the date, bestie, and this whole thing lives under IMG2CIF(1) in the General Commands Manual. slay, we're done here π β¨
π¦ where this page comes from
- debian bookworm: cbflib-bin 0.9.7+dfsg1-2+b2 Β· GPL-2.0-only OR LGPL-2.1-only
- debian trixie: cbflib-bin 0.9.7+dfsg1-5+b1 Β· GPL-2.0-only OR LGPL-2.1-only
- ubuntu jammy: cbflib-bin 0.9.6+dfsg1-3build1 Β· GPL-2.0-only OR LGPL-2.1-only
- ubuntu noble: cbflib-bin 0.9.7+dfsg1-3.1build2 Β· GPL-2.0-only OR LGPL-2.1-only
- ubuntu questing: cbflib-bin 0.9.7+dfsg1-5build1
- ubuntu resolute: cbflib-bin 0.9.7+dfsg1-5.1build1 Β· GPL-2.0-only OR LGPL-2.1-only
- ubuntu stonking: cbflib-bin 0.9.7+dfsg1-5.1build2 Β· GPL-2.0-only OR LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms