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 πŸŽ€

  • -i input_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. πŸ’«
  • -o output_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. πŸ“
  • -c compression_scheme β€” packed, canonical or none, default is packed. pick your vibe. 🌈
  • -m [no]headers β€” (default headers for cifs, noheaders for 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. ✨
  • -e encoding β€” base64, quoted-printable, decimal, hexadecimal, octal or none, default is base64. 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. πŸ’€
  • -b direction β€” forward or backwards, 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