我可以将图像切成四段吗?我只有图像文件. [英] Can I cut an image in to four pieces. I have only the image file.

查看:66
本文介绍了我可以将图像切成四段吗?我只有图像文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以将图像切成四段.我只有图像文件.

Can I cut an image in to four pieces. I have only the image file.

推荐答案

在此网站上查找其中一个图像加载/保存包.将图像加载到内存中.然后,您可以将感兴趣的部分提取到一个单独的缓冲区中,将其分为四部分.然后以与原始图像相同的格式保存提取的图像.

如果您需要进一步的帮助,请告诉我们图像的文件类型以及有关编程环境的更多信息.
Look for one of the image loading/saving packages here on this website. Load the image into memory. Then you can split it into four pieces by extracting the parts you are interested in, into a separate buffer. Then save the extracted images in the same format as your original image.

If you need further help, then please tell us what file type your image has and more about your programming environment.


这篇关于我可以将图像切成四段吗?我只有图像文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆