# \#imwrite

**URL:** https://forum.opencv.org/tag/imwrite/110.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Opencv IMWRITE\_JPEG\_LUMA\_QUALITY parameter doesn't work as expected in 3.2.0](https://forum.opencv.org/t/opencv-imwrite-jpeg-luma-quality-parameter-doesnt-work-as-expected-in-3-2-0/8370)

<div class="topic-metadata">

**Author:** [@csg](https://forum.opencv.org/u/csg)\
**Replies:** 1\
**Last updated:** [April 11, 2022, 10:33pm UTC](https://forum.opencv.org/t/opencv-imwrite-jpeg-luma-quality-parameter-doesnt-work-as-expected-in-3-2-0/8370 "2022-04-11T22:33:08Z")

</div>

According to the documentation, the IMWRITE\_JPEG\_LUMA\_QUALITY parameter is supported. IMWRITE\_JPEG\_LUMA\_QUALITY Separate luma quality level, 0 - 100, default is 0 - don’t use. But I realized that when I set it to def…

---

## [Extracting grayscale images from a video using opencv](https://forum.opencv.org/t/extracting-grayscale-images-from-a-video-using-opencv/3154)

<div class="topic-metadata">

**Author:** [@RockB](https://forum.opencv.org/u/RockB)\
**Replies:** 3\
**Last updated:** [May 5, 2021, 6:39pm UTC](https://forum.opencv.org/t/extracting-grayscale-images-from-a-video-using-opencv/3154 "2021-05-05T18:39:53Z")

</div>

I am trying to extract images (frames) from a video and save them at a specific location. I have written the following code where it works well for extracting color images. extractFrames(srcPath,dstPathColor) However, …
