# Decode JPEG images Source: [https://docs.qualcomm.com/doc/80-70022-50/topic/gst-jpg-decode-example.html](https://docs.qualcomm.com/doc/80-70022-50/topic/gst-jpg-decode-example.html) The **gst-jpg-decode-example** application allows you to decode JPEG images and view the decoded images on a screen. The following figure shows the pipeline for gst-jpg-decode-example. For information about the plugins used in the pipeline flow, see [Pipeline flow](https://docs.qualcomm.com/doc/80-70022-50/topic/gst-jpg-decode-example.html#gst-jpg-decode-example__section_pmp_wyv_42c). Figure : gst-jpg-decode-example pipeline jpegdec capsfilter waylandsink videoconvert multifilesrc JPG Open source ## Run the application 1. Ensure that you complete the [Prerequisites](https://docs.qualcomm.com/doc/80-70022-50/topic/mm_sample_apps_prerequisites.html). 2. Input at least one `filename_%d.jpg` on the target device. 3. In the terminal of the target device, run the use case. Specify the application with parameters such as width and height. gst-jpg-decode-example -w 1920 -h 1080 -i /etc/media/filename_%d.jpgCopy to clipboard 4. To stop the use case, use CTRL + C. 5. In the terminal of the target device, run the following command in the SSH shell to display the available help options: gst-jpg-decode-example --helpCopy to clipboard ## Expected output The decoded image is displayed on the screen for preview. ## Pipeline flow The following table lists the plugins used to run the decode JPEG images pipeline:| Plugin | Description | | --- | --- | | multifilesrc | Reads the video data from sequentially named files. | | capsfilter | Enforces constraints on the video data. | | jpegdec | Decodes the JPEG video stream. | | videoconvert | Converts the video frames from one format to another. | | [Waylandsink](https://docs.qualcomm.com/doc/80-70022-50/topic/waylandsink.html) | Displays the video stream on the Wayland display. | **Parent Topic:** [Run sample applications for a camera](https://docs.qualcomm.com/doc/80-70022-50/topic/camera-sample-applications.html) Last Published: Feb 20, 2026 [Previous Topic Wide dynamic range and electronic image stabilization](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/dynamic-range-and-image-stabilization.md) [Next Topic Run sample applications for video and audio](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/audio-sample-applications.md)