资源介绍
代码请参考笔者的另一个资源。
我们用千万像素级相机拍摄的照片,通常达到好几兆,时间长了,相片多了,就很占空间,但是又舍不得删除。怎么办?减少图片的精度,也就减小了所占空间。事实上,用Windows XP自带的画图程序(Win7自带的画图程序没试过),打开图片,然后另存,即可发现图片体积大大减小,但是精度的损失用人眼是判断不出来的。可是如果每个图片都用画图程序打开再另存,势必很费时间。于是,小弟就开发了一个批量减少图片体积的小程序,可以递归执行。需要注意的是,要先选中递归复选框,然后再选择文件夹,否则不会递归。这也算是一个小bug吧。
We do pixel-level camera photographs, usually reaches several trillion, a long time, photos and more, it is the space, but they could not bear to delete. How to do? Reduce image precision, it reduces the footprint. In fact, with the Paint program that comes with Windows XP (Win7 Paint program that comes with not tried), open the image, then save it, you can find pictures volume greatly reduced, but the loss of accuracy of the human eye is not out of judgment. But if each picture are turned on and then save it with a drawing program, it is bound to be time-consuming. Thus, the younger brother developed a small batch volume reduction picture program can recursively. Note, first check the Recursive checkbox, and then select the folder, otherwise not recursively. It would be a little bug it.