-
bulk_loopback_app
ADI 公司的bf526 usb bulk 例程 编译环境为VisualDSP5.0++ (bf526 usb demo)
- 2013-12-11 19:18:56下载
- 积分:1
-
C# 下载图片示例
using System;using System.Web;public class DownImg : IHttpHandler { //图片下载功能 public void ProcessRequest(HttpContext context) { System.Net.WebResponse response = null; System.IO.Stream stream = null; string path = context.Request.Url.Query.Split(new string[] { "coverimg=" }, StringSplitOptions.RemoveEmptyEntries)[1]; System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(path); response = request.GetResponse(); stream = response.GetResponseStream(); System.IO.MemoryStream memStream = Txooo.Mobile.HttpTools.CloneStream(stream); byte[] bytes = new byte[memStream.Length]; memStream.Read(bytes, 0, bytes.Length); // 设置当前流的位置为流的开始 memStream.Seek(0, System.IO.SeekOrigin.Begin); context.Response.ContentType = "application/octet-stream"; //通知浏览器下载文件而不是打开 string fileName = DateTime.Now.Ticks.ToString() ".jpg"; context.Response.AddHeader("Content-Disposition", "attachment; filename=" fileName); context.Response.BinaryWrite(bytes); context.Response.Flush(); } public bool IsReusable { get { return false; } }}
- 2014-05-29下载
- 积分:1
-
24BMP256ColorGray
本代码实现的功能:24位位图(BMP)的灰度化。具体实现过程:打开图像文件,找到数据区(每3个字节代表一个象素的R,G,B值),循环扫描,根据RGB的权重,计算出灰度值. 如果要得到256色灰度图,则要新建一个调色板,修改信息头和文件头.(Realize the function of the code: 24-bit bitmap (BMP) of the gray. Concrete realization of the process: Open the image file, locate the data area (3 bytes per pixel on behalf of a R, G, B values), cyclic scan, according to the weight of RGB, gray value is calculated. If you want to get 256 colors grayscale, would create a new palette, modify the header and file header information.)
- 2020-07-01 01:20:02下载
- 积分:1
-
gcc编译gd32f103
【实例简介】gcc编译gd32f103
- 2021-08-01 00:31:00下载
- 积分:1
-
windrm-src
基于OFDM的windrm代码,实现无线通讯功能的很实用的代码。(This is source code of win dream based on OFDM.)
- 2015-01-23 11:30:02下载
- 积分:1
-
lcd_panel_cfg
这是基于UCOS的LCD显示驱动,LCD为RGB+SPI模式。希望对大家有用。(This is LCD driver based on UCOS,the model of LCD is RGB+LCD.Wish help for you。)
- 2012-03-28 18:07:29下载
- 积分:1
-
PipLaser_1.01-fix~
The forex Expert Advisor
- 2017-10-26 05:20:45下载
- 积分:1
-
GD32F10x_Firmware_Library_V2.0.0
GD32F库函数,各种外设,gpio等等(gd32 library v2.0.0 gpio ..)
- 2021-04-29 09:48:43下载
- 积分:1
-
NEW97DMIRAGETEAM
Plugin MirageTeam 0.97d server files for .dll
- 2018-01-15 04:39:41下载
- 积分:1
-
stm32 code
说明: 利用STM32F103内置ADC实现电压电流采集(Acquisition of Voltage and Current Using STM32F103 Built-in ADC)
- 2019-01-10 17:04:43下载
- 积分:1