This repository contains Python examples for Aspose.Imaging for Python via .NET.
- Extract the contents of ZIP file to any folder on your computer. All the examples are located in the Examples folder.
- Examples/data folder contains input files which Python examples used. It is mandatory that you download the data folder along with the examples project.
- Run python RunExamples.py file, all the examples are called from here.
- Specify group of examples or test file filter you want to run or call needed example manually writing code for it.
Using the following arguments you can manage the process of examples running.
python RunExamples.py [--argument value] [--argument value] ...
Arguments:
Argument | Value |
---|---|
--src-dir |
<path to the root example dir> Default: ./src |
--data-dir |
<path to the root data dir> Default: ./data |
--output-dir |
<path to the output dir> Default: ./output |
--license |
<path to a license file> Default: No license |
--save-output |
(true/false) Default: false |
--groups |
groups-flag Can contains the following bit masks or combination 1 - Test drawing and formatting images 2 - Test modifying and converting images 4 - Test of memory strategies" 8 - Test additional Aspose.Imaging features 16 - Test file formats Default: All |
--file-filter |
regex Default: All files |
--help | No need value |
Please feel free to reach out using our Forums if you have any issues setting up or running the examples.
Visit Aspose Documentation and Developer Guide for details.