====== GE2D ====== Khadas VIMs provide a GE2D (Graphics Engine 2D) onboard for fast 2D graphics operations, such as cropping, resizing, rotating, etc. We can use the GE2D for image graphics processing. Follow the table for suitable runtime platform ^ board ^ Linux Kernel (BSP) ^ OS ^ | VIM3 | 5.15 | Ubuntu 22.04 | | VIM3L | 5.15 | Ubuntu 22.04 | | VIM1S | 5.15 | Ubuntu 22.04 | | VIM4 | 5.15 | Ubuntu 22.04 | ===== Get source code ===== Clone the examples [[gh>sravansenthiln1/ge2d-demos]] ```shell $ git clone https://github.com/sravansenthiln1/ge2d-demos $ cd ge2d-demos ``` ===== Run examples ===== Taking ''ge2d-crop'' as example ==== Enter the example directory ==== ```shell $ cd src/ge2d-crop ``` ==== Compile the application ==== ```shell $ make ``` ==== Run the application ==== Copy the sample input image for this example. ```shell $ cp ../../samples/input_rgba.bmp . ``` Run the application. ```shell $ ./main ``` The output image can be observed at ''output.bmp''