Visual Basic:创建 .png 图像
我想使用 Visual Basic 创建一个 Windows 应用程序。 该应用程序非常简单:它允许您选择 2 个图像,当您单击“创建”时,应用程序将通过组合两个图像的位图来创建一个新的 .png 图像。这个新文件将在指定目录中创建。
我该怎么做?
I want to create a Windows application with Visual Basic.
The application is pretty simple: It lets you choose 2 images, and when you click "Create" the application will create a new .png image from combining the two images' bitmaps. This new file will be created on a specified directory.
How do I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我会研究 LaVolpe 的 32bpp DIB Suite。它提供了大量用 VB 编写的图像管理例程,包括保存为 PNG 格式。
I would look into LaVolpe's 32bpp DIB Suite. It provides a plethora of image management routines written in VB, including saving to the PNG format.
如果你想做到这一点,你只需要一个图片框,只需使用打开文件文件对话框在其上加载图像并选择图像,然后选择组合框或类似的东西来选择图像的类型,我希望这可以帮助你:
哦对了,如果你希望我们互相合作
创建一个新程序,那就太好了;)祝你好运;)
If you want to do that you need just one picturebox , Just load an image on it using openfile file dialog and choose image , and then choose a combobox or sth like that to choose the type of the image , I hope this can help you :
Oh and , if you want us to collaborate with each other
to create a new program , that would be very nice ;) GOOD LUCK ;)