# libjpeg-turbo (/examples/libs/libjpeg_turbo)



Fast JPEG decoder using SIMD-accelerated libjpeg-turbo. Enable with `LV_USE_LIBJPEG_TURBO` in `lv_conf.h`.

Decode JPEG with libjpeg-turbo [#decode-jpeg-with-libjpeg-turbo]

<LvglExampleBrief>
  Load a JPEG file through the libjpeg-turbo decoder and center it on the screen.
</LvglExampleBrief>

An image widget is created on the active screen with its source set to
`A:lvgl/examples/libs/libjpeg_turbo/flower.jpg`, so the libjpeg-turbo
image decoder reads the file through the filesystem driver registered
under drive letter `A`.

<LvglExample name="lv_example_libjpeg_turbo_1" path="libs/libjpeg_turbo/lv_example_libjpeg_turbo_1" />
