FOR /R .\Orthophotos %F IN (PL_15/*.jpg) DO (CD %~pF && "C:\Program Files\GIMP 2\bin\gimp-console-2.8.exe" ^
-i -b "(greeny \"PL_15\\%~nxF\" \"Ortho4XP_PL15_64\")" -b "(gimp-quit 0)")
- gimp
It iterates through the tiles from 48N12E up to 55N23E and generates sceneries for each one.
FOR /L %Y IN (48,1,55) DO FOR /L %X IN (12,1,23) DO ( ^
IF NOT EXIST "zOrtho4XP_+%Y+0%X\Earth nav data" ( ^
IF EXIST "zOrtho4XP_+%Y+0%X\Ortho4XP.cfg" ( ^
"%USERPROFILE%\AppData\Local\Programs\Python\Python35\python.exe" Ortho4XP.py %Y %X ^
"zOrtho4XP_+%Y+0%X\Ortho4XP.cfg" ) ^
ELSE ( "%USERPROFILE%\AppData\Local\Programs\Python\Python35\python.exe" Ortho4XP.py %Y %X ) ) )
- Ortho4XP
The primary goal is to use the chart image with LES Saab 340A
Pilot Chart Selector.
It can be displayed on the captain's control yoke.
FOR /R %F in (*ICAO*.pdf) DO magick -density 300 %~nxF[0] ^
-trim -units pixelsperinch -density 300 -resize "1304x1304^" ^
-rotate "-90>" -colorspace gray -background white -flatten ^
-gravity west -extent "2048x2048" ..\..\..\Charts.png\%~nxF.png
Please note, that only the first page of the PDF document is converted.
- imagemagick
- ghotscript