且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在应用程序文件夹中调整图像大小并在gridview中显示调整大小的图像

更新时间:2022-11-02 12:14:09

Bitmap类具有getThumbnail函数,该函数可以接受高度和宽度.您可以使用save功能保存它.尽管此功能的运行速度稍慢,但仍可方便使用.

祝你好运.
The Bitmap class has a getThumbnail function which accepts a height and width. You may save it using the save function. Though this function works little slower it is handy available.

Good luck.