从流中获取缩略图. [英] Get Thumbnail from stream.

查看:68
本文介绍了从流中获取缩略图.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以直接从流中调整位图的大小,而不必使用Image.FromStream将其加载到位图对象中.我正在处理甚至具有桌面背景尺寸的大图像,并且只能访问zip文件中的流.

Is there a possibility to resize bitmap directly from stream , not loading it in bitmap object using Image.FromStream . I''m working with large images with sizes even of desktop backgrounds and I only have access to a stream from zip file.

推荐答案

以下是有关该主题的几篇文章:
缩略图HTTP处理程序 [用于ASP.NET 2.0的缩略图图像查看器控件 [ ASP.NET缩略图解决方案 [使用IHttpHandler的通用图像处理程序 [
Here is a few articles on the subject:
Thumbnailer HTTP Handler[^]
Thumbnail Image Viewer Control for ASP.NET 2.0[^]
An ASP.NET thumbnail solution[^]
Generic Image Handler Using IHttpHandler[^]

At least the subject is similar enough to provide a starting point for your task :)

Regards
Espen Harlinn


这篇关于从流中获取缩略图.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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