当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 怎么更改一个sql server已有用户的登录名 如: 名称 登录名 数据库访问 _________________________________ futin 许可 futin的登录名为空, 现在想把它改为123,该怎么做 ......
 ·avi色彩深度转换的问题    »显示摘要«
    摘要: 我想根据msdn读写avi stream的代码写自己的avi色彩深度转换程序。http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_avistreamread.asp for (lstreamsize = avistreamstart(ps); lstreamsize <......


AVI色彩深度转换的问题

我想根据MSDN读写AVI   Stream的代码写自己的AVI色彩深度转换程序。http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_avistreamread.asp  
   
  for   (lStreamSize   =   AVIStreamStart(ps);   lStreamSize   <  
                  AVIStreamEnd(ps);   lStreamSize++)   {    
                  hr   =   AVIStreamRead(ps,   lStreamSize,   1,   lpOld,   bi.biSizeImage,  
                          NULL,   NULL);    
     
                  //   Do   something   with   the   data   and   write   it   to   lpNew   buffer.    
     
                  //   Save   the   compressed   data   using   AVIStreamWrite.    
                  hr   =   AVIStreamWrite(psSmall,   lStreamSize,   1,   lpNew,  
                          biNew.biSizeImage,   AVIIF_KEYFRAME,   NULL,   NULL);    
          }    
   
  举例从24bit专为16bit,请问这段代码里面Do   something   with   the   data   and   write   it   to   lpNew   buffer.需要做什么?  
  最后十分了,不好意思。

NO.1   作者: Eastunfail

NO.2   作者: CoolSlob

小龙淫怎么也跑这来?

NO.3   作者: CoolSlob

没听说过用WM   SDK可以直接转换色彩空间。  
  Windows系统自带有个Filter倒是可以转换。

NO.4   作者: CoolSlob

是的。要用DX

NO.5   作者: CoolSlob

呵呵  
   
  那等高人来解释吧  
  我一旁听着学习:)


 ·有关big5-->utf-8编码问题    »显示摘要«
    摘要: 小弟想实现的是: 先读取编码为big5的html页面的源文件,然后将它编码为utf-8,再另存为另一个html文件,用的编码函数是delphi自带的utf8encode, var big5string: utf8string; filestring: widestring; big5string := utf8encode(filestring); 但编码以后,在ie上打开却是乱码,乱码则......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE