ImageDev

ImageDev Python

This section details how to start with ImageDev Python.

Prerequisites

ImageDev requires a 64-bit Python distribution.

Installation

To use ImageDev Python from an available package archive, you need to:
pip install path_to_unzipped_ImageDev/pip/iolink_wheel_name.whl
pip install path_to_unzipped_ImageDev/pip/imagedev_wheel_name.whl
Where: To load images you could use IOFormat. To install it, type in a terminal:
pip install path_to_unzipped_ImageDevExamples/pip/ioformat_wheel_name.whl 
Where:

Hello ImageDev Python

In order to run examples, you must install the imagedev data package.
Open a terminal window and type:
pip install path_to_unzipped_ImageDevExamples/pip/imagedev_data_wheel_name.whl
Where: This package contains the following helper functions:
data_repository() # Return the full path of the folder containing the data of the package
get_image_path(image_relative_path) # Return the full path of an image of the package
get_object_path(object_relative_path) # Return the full path of an object of the package 
You are now ready to write your first ImageDev code with your favorite IDE or directly in a Python console. For instance, by copying and pasting the content of the Python example available at the end of the HelloImageDev tutorial page.

You can now run this code and compare the resulting images with those shown in the HelloImageDev tutorial.