# How can I parse images from raw images?

**URL:** <https://forums.developer.nvidia.com/t/how-can-i-parse-images-from-raw-images/81951>\
**Category:** DRIVE Hardware\
**Created:** [September 19, 2019, 7:09am UTC](https://forums.developer.nvidia.com/t/how-can-i-parse-images-from-raw-images/81951 "2019-09-19T07:09:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daekeun.kim](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@daekeun.kim](https://forums.developer.nvidia.com/u/daekeun.kim)\
**Post date:** [September 19, 2019, 7:09am UTC](https://forums.developer.nvidia.com/t/how-can-i-parse-images-from-raw-images/81951/1 "2019-09-19T07:09:12Z")

</div>

How can I parse images from raw images? The raw image was obtained from camera\_sample\_gmsl\_raw.  
I want to split the images contained in a raw image into multiple picture files, in the format of  
a png file. What is the video format of raw image?

---

<div class="post-metadata">

**Author:** ![velmurugan.s](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/velmurugan.s/32/11486_2.png) [@velmurugan.s](https://forums.developer.nvidia.com/u/velmurugan.s)\
**Post date:** [September 19, 2019, 9:44am UTC](https://forums.developer.nvidia.com/t/how-can-i-parse-images-from-raw-images/81951/2 "2019-09-19T09:44:49Z")

</div>

Hi daekeun.kim

There are many RAW video formats available(ex:Bayer Raw, Uncompressed formats like UYVY,RGB888,RAW16,etc.,). We cannot view these formats with normal image viewer and we need third party RAW image viewers like vooya,7YUV etc.

Moreover, to view a raw image, we need to know the RAW image format and resolution.If you are getting raw image from a camera,then you can find RAW image format and resolution using v4l2-ctl command mentioned below.

v4l2-ctl -d /dev/video0 --list-formats-ext

Using the result of above command you can find RAW image format and Resolution of your camera.Use these details to view and convert the RAW image file into a png file with the above mentioned applications.

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 8:07pm UTC](https://forums.developer.nvidia.com/t/how-can-i-parse-images-from-raw-images/81951/3 "2021-10-12T20:07:13Z")

</div>


