照片节约 [英] photo saving

查看:67
本文介绍了照片节约的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在我的表格中我有一个pcturebox。并将这张图片保存为数据库中的字节。对于一些图片,大小很大,所以溢出显示。我怎么能解决这个问题。我可以减少运行时图像的大小。或者我可以裁剪图像以减小更好的尺寸,并且plz提供有关的详细信息

Hi,

in my form i have a pcturebox.And saving this picture as byte in database.For some pictures the size is large so overflow shows.How can i solve this.Can i reduce the size of the image at runtime.Or can i crop the image to reduce the size which is better and plz give details about that

推荐答案

将图像保存到文件夹并在数据库中插入图像路径。

Save image to a folder and insert image path in database.


这篇关于照片节约的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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