# Decode JPEG images 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-80021-50/topic/gst-jpg-decode-example.html#section-pmp-wyv-42c). jpegdec capsfilter waylandsink videoconvert multifilesrc JPG Open source **Figure : gst-jpg-decode-example pipeline** ## Run the application 1. Ensure that you complete the [Prerequisites](https://docs.qualcomm.com/doc/80-80021-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.jpg Copy 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 --help Copy to clipboard ## Expected output The decoded image is displayed on the screen for preview. ## Pipeline flow | 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-80021-50/topic/waylandsink.html) | Displays the video stream on the Wayland display. | Last Published: Mar 26, 2026 [Previous Topic Wide dynamic range and electronic image stabilization](https://docs.qualcomm.com/bundle/publicresource/80-80021-50/topics/dynamic-range-and-image-stabilization.md) [Next Topic Run sample applications for video and audio](https://docs.qualcomm.com/bundle/publicresource/80-80021-50/topics/audio-sample-applications.md)