OnWorks favicon

convert_image - Online in the Cloud

Run convert_image in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command convert_image that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



convert_image - convert images to CBF format using a template


convert_image [options]


convert_image is a program that can convert images from a MAR180, MAR300, MAR345 or ADSC
CCD detector and convert them to CBF format.

convert_image requires two arguments: imagefile and cbffile. Those are the primary input
and output. The detector type is extracted from the image file or from the command line,
converted to lower case and used to construct the name of a template cbf file to use for
the copy. The template file name is of the form template_name_columnsxrows.

To run makecbf with the example image, type:

makecbf example.mar2300 test.cbf


-i input_img
(default: stdin) the input file as an image in smv, mar300, or mar345 format. If
input_img is not specified or is given as "-", it is copied from stdin to a
temporary file.

-p template_cbf
the template for the final cbf to be produced. If template_cbf is not specified
the name is constructed from the first token of the detector name and the image
size as template_<type>_<columns>x<rows>.cbf

-o output_cbf
(default: stdout ) the output cbf combining the image and the template. If the
output_cbf is not specified or is given as "-", it is written to stdout.

-d detectorname
a detector name to be used if none is provided in the image header.

-F when writing packed compression, treat the entire image as one line with no

-m [x|y|x=y]
(default x=y, square arrays only) mirror the array in the x-axis (y -> -y) in the
y-axis (x -> -x) or in x=y ( x -> y, y-> x)

-r n rotate the array n times 90 degrees counter clockwise x -> y, y -> -x for each
rotation, n = 1, 2 or 3

-R if setting a beam center, set reference values of axis settings as well as standard

-z distance
detector distance along Z-axis

-c category_alias=category_root

-t tag_alias=tagroot
map the given alias to the given root, so that instead of outputting the alias, the
root will be presented in the output cbf instead. These options may be repeated as
many times as needed.

Use convert_image online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 2
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 3
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    Download XISMuS
  • 4
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 5
    Weaviate in a nutshell: Weaviate is a
    vector search engine and vector
    database. Weaviate uses machine learning
    to vectorize and store data, and to find
    Download Weaviate
  • 6
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 7
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • More »

Linux commands