close panorama

Tools / Droplets

krpanotools CubeToSphere Tool Version 1.19
Select Version:

The krpanotools cube2sphere tool transforms / converts six cubical images back to a spherical image.


The krpanotools cube2sphere tool need to be called from command line or from batch / script files.


krpanotools cube2sphere inputfiles [-o=outputfile] [options]

  • inputfiles
    • Either six cubical images in any order. These images should have suffixes like _l, _f, _r, ... or left, front, right, ... in their filename to allow an automatic detection of their cubeside.
    • Otherwise every cubeside image must be specified manually by using:
      -l=.. -f=.. -r=.. -b=.. -u=.. -d=..
  • -o=### (optionally)
    • The output image filename (paths will be created automatically).
    • When not set, then the basename of the cube images plus '_sphere.tif' will be used.
  • options (optionally)
    • -config=# ... read the settings from an external config file
    • -outsize=# ... output image size (default=spherewidth=cubewidth*PI))
    • -fast ... faster calculation (but lower quality)
    • -jpegquality=# ... set jpeg quality (0-100, default=85)
    • -jpegsubsamp=# ... set jpeg color subsampling (444,422,420,411, default=444)
    • -jpegoptimize=# ... optimize jpeg compression (true or false, default=true)
    • -tiffcompress=# ... set tiff compression (none,lzw,zip,jpeg, default=lzw)
    • -tempdir=# ... set directory for temporary data
    • -q / -quiet ... suppress output messages
Supported input and output image formats:
  • Tiff (.tif, .tiff)
  • BigTiff (.btf, .tf8, .bigtiff)
  • JPEG (.jpg, .jpeg)
  • Photoshop Document (.psd)
  • Photoshop Big Document (.psb)
  • Kolor RAW (.kro)
  • All formats only in 8 or 16bit RGB or RGBA format.