CodePudding user response:
No resolution image itself is not also does not have what the size of the pixel size only. Unless you use a vector diagram can be arbitrary scaling without distortion.CodePudding user response:
I now of the VB software view after taking photos with PHOTOSHOP to open the image size is the screenshot above, but the pictures requires the document size is 26 mm * 32 mm resolution 150 above, how to implement in VB directly out requirement standard pictures?
CodePudding user response:
150 pixels per inch=100/2.54/m * 150=5906 pixels, BMP file header biXPelsPerMeter, biYPelsPerMeter directly to the value,26/25.4 * 150=154
32/25.4 * 150=189
So pictures to cut into 154 x189 pixels,
CodePudding user response:
Simple bilinear interpolation, complex cubic convolution interpolationBut with PHOTOSHOP, you can use PHOTOSHOP to do it, just do yourself free!