2018-06-18 03:46:06 -0600 | received badge | ● Supporter (source) |
2018-06-18 03:45:53 -0600 | marked best answer | Is it possible to resize images using resolution (dpi)? Hello, I have some images which do not have the same width and height resolution (eg: width 200 dpi height 400 dpi). For some reasons I need to resize the image to have a square resolution by keeping one of the existing one that means the image should be either 200x200 dpi or 400x400 dpi in this case. I tried using the resize function the following way: resize( inputImgMat, outImgMat, Size(0,0), 1, 0.5, INTER_LANCZOS4 ) but the resolution is reduced to be 96 dpi. Note that I tried all possible algorithms and each time the same result. Is that possible using the resize function? is there any other function I can use? Thanks. |
2018-06-18 03:45:53 -0600 | received badge | ● Scholar (source) |
2018-06-18 03:23:55 -0600 | asked a question | Is it possible to resize images using resolution (dpi)? Is it possible to resize images using resolution (dpi)? Hello, I have some images which do not have the same width and |