Reduce the byte size of an image
I have many 1423x800 bmp images with byte size bigger than 3M, now I want to change the format of them to jpg and reduce the byte size of each image not bigger than 256K, but also want to keep the best image quality in such case, so any good ideas on reducing the byte size of the image here?
P.S. The goal of doing these image operation is that I am going to customize the logon screen wallpaper of Windows 7
Hi! How is this related to Qt?
Edit: There are tools for this, e.g. "ImageMagick". BTW: You asked nearly the same question about a year ago, see here.
Seems to be the perfect choice
a 3Mb bmp should become around 200k png
mogrify -format jpg *.png
img.save("myfile.bmp", "jpg", 50) seems ok