Micrio Command Line tool
Dashboard v3
This tool only works with the Micrio dashboard version 3 and up.
micrio
is a command line tool for processing and uploading images directly from your computer to the Micrio Dashboard.
Prerequisites
You need to have npm
installed on your computer. Download it here: https://nodejs.org/en/download/current .
Quick Start
Install the Micrio tool as a global binary
bashnpm i -g micrio.cli
npm i -g micrio.cli
Log in to your Micrio account and follow the steps you are prompted with
bashmicrio login
micrio login
Open the Micrio dashboard and navigate to the folder you want to place your images, ie. https://dash.micr.io/my-group/my-project
bashmicrio upload my-image.jpg -d https://dash.micr.io/my-group/my-project
micrio upload my-image.jpg -d https://dash.micr.io/my-group/my-project
Now reload your dashboard page, and the image should be there!
Commands
micrio login
Connect the micrio
executable to your logged in Micrio account
micrio logout
Remove your Micrio account credentials
micrio upload <images> --destination <url> --format <webp|jpg> --type <2d|360|omni>
Process and upload one or several images (wildcards are supported) to the specified destination URL, which is the deeplink of the target folder in your Micrio Dashboard.
By default, it processes images to webp
tiles, but you can change that to jpg
using the --format
option.
You can also process it as an equirectangular 360º image, using --type=360
. For selected accounts, Omni (360º object photography) is also available. Check out our website for more information.
For more commands and options or run micrio help [command]
.