OpenCV
Set BMP image resolution before or with imwrite
Python
imgcodecs
matti.vuori
April 26, 2021, 1:11pm
2
I think you are out of luck, but using PIL, for example, could help. See here for PNG
show post in topic
Related topics
Topic
Replies
Views
Activity
Unable to load .BMP file correctly
imgcodecs
5
32
May 28, 2025
Write and read a 1 bpp image using OpenCV / C++
C++
imgcodecs
1
678
April 21, 2022
Saving Image format problem
Python
imgcodecs
7
5018
June 23, 2021
Is it possible to capture 8mp image using opencv?
Python
camera
,
videoio
7
832
August 3, 2023
Imshow() and imwrite() outputs are different and normalization is not preserving original image
Python
highgui
,
imgcodecs
2
2175
April 22, 2021