如何将图片网址转换为缩略图? [英] How to convert image url into thumbnail image?
本文介绍了如何将图片网址转换为缩略图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要编码将数据库图像转换为缩略图...
提前谢谢:)
I need to code for converting database image into thumbnail image..
Thanks in advance :)
推荐答案
没有转换。这是重新采样。通过对服务器端代码的HTTP请求,存储完整的图像并重新采样将是一个非常好的主意。
您可以找到食谱食谱对于那个地方,例如:
http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/a43fe625-a5cd-4438-895f-3ddeec6eb866 [ ^ ],
http://www.hanselman.com/blog/ScalingResizingResamplingAnImageInASPNET.aspx [ ^ ]。
-SA
There is no "convert". This is resampling. And it would be a pretty good idea to store full images and resample in the fly, by HTTP requests to your server-side code.
You can find the cookbook recipe for that everywhere, for example:
http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/a43fe625-a5cd-4438-895f-3ddeec6eb866[^],
http://www.hanselman.com/blog/ScalingResizingResamplingAnImageInASPNET.aspx[^].
—SA
嗨sasi
我希望这个链接对你有所帮助
http://www.aspforums.net/Threads/771053/Display-Image-Thumbnail-in donorList-ASPNet/ [ ^ ]
这篇关于如何将图片网址转换为缩略图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文