Installing Image Processor for i
Unzip the downloaded file to
C:\temp(or the directory of your choice).Create the *SAVF to upload to on your IBM i:
CRTSAVF FILE(QGPL/IPI) AUT(*ALL)FTP the file IPI.SAVF from your PC to the IBM i. Open a command prompt (Start -> Run -> type 'cmd' and press Enter). Type the following into the command prompt, replacing the IP address with that of your IBM i. When prompted, enter your IBM i username and password.
ftp 123.456.789.123binarylcd c:\tempquote site namefmt 0cd QGPLput ipi.savf ipi.savfquit
Issue the following IBM i commands:
RSTLIB SAVLIB(IPI) DEV(*SAVF) SAVF(QGPL/IPI) RSTLIB(IPI)RST DEV('/QSYS.LIB/IPI.LIB/IFS.FILE') OBJ(('/kato/ipi' *INCLUDE '/kato/ipi')) CRTPRNDIR(*YES) PRNDIROWN(QSYS) ALWOBJDIF(*ALL)ADDLIBLE IPICALL QP2TERM
In the PASE shell, issue the following commands. Note that these may take multiple minutes to execute, and that you may see messages which look like errors. You can safely ignore all messages.
-
export PATH=/QOpenSys/pkgs/bin:$PATH -
yum install python3 python3-devel python3-pip python3-setuptools -y -
yum install python39 python39-devel python39-wheel -y -
yum install libjpeg-turbo-devel zlib-devel libtiff-devel libwebp-devel freetype-devel -y -
cd /kato/ipi -
python3.9 -m venv env -
. env/bin/activate -
pip install Pillow-8.4.0-cp39-cp39-os400_powerpc64.whl -
pip list --localAfter completing the last step you should see
Pillow 8.4.0,pip 23.0.1, andsetuptools 58.1.0listed. If the output looks similar, execute the next command, and then press F3 to exit PASE: -
deactivate
-
Registration - Apply your provided temporary or permanent license key using the below command:
APYLIC LICKEY(<<insert key that was emailed to you>>) PRODUCT(IPI)