hi,
I want to change the resolution of the .bmp image in python. ( i.e. the pixel/inch information) . Using PIL, for jpg image, for instance, the following code works fine
import Image
im = Image.open("myImg.jpg)
im.save("output.jpg", dpi = (75, 75) )
If you view this in some image editing software like GIMP, it shows the Pixel per inch as 75, 75.
But the above code doesn't work when the input image is a .bmp file.
Could someone tell me how to change image resolution for any image in python?