Welcome![Sign In][Sign Up]
Location:
Search - createdibsection

Search list

[Multimedia programRplColor

Description: When I wrote this function my problem was to replace one color by an other on transparent bitmaps. My images were resources bitmaps, which I store in an ImageList for easy transparency. There is no easy way to directly access a Bitmap s pixel on Win32. If you re interested in, this article may help you to understand the usage of CreateDIBSection. If you have to load a bitmap from resource and made many color replacements, or if you have to change a color in a HBITMAP this function is for you. If you have a bitmap in resource and want to replace one or more color on load, it s better to use CreateMappedBitmap. You can found in the sample program a ReplaceColor function which use CreateMappedBitmap. I ve made the same code using only BitBlt. All BitBlt are really fast but the creation of the mask bitmap is so slow than the whole function is twice slower than the code using CreateDIBSection. ( sources are in the sample ) -When I wrote this function was to my problem replace one color by an other on transparent bit maps. My images were resources bitmaps, which I store in an ImageList for easy transpare ncy. There is no easy way to directly access a Bit 's pixel map on Win32. If you're interested in, this article may help you to understand the risques e of CreateDIBSection. If you have to load a bitm ap from resource and made many color replacemen ts. or if you have to change a color in a HBITMAP this f unction is for you. If you have a bitmap in resour ce and want to replace one or more color on load, it's better to use CreateMappedBitmap. You can f ound in the sample program a ReplaceColor funct ion which use CreateMappedBitmap. I've made the same code using only BitBlt. All are real BitBlt
Platform: | Size: 6770 | Author: 孙磊 | Hits:

[Special Effectsdssdf

Description: 本程序在EVC4.0+PPC SDK 2003下调试通过。 用Independent JPEG Group发行的JpegLib进行Jpeg图像的读取与保存。 这里只加了一个简单的处理示例——负片。其他的处理可以用与这个类似的方法,有了处理的算法对像素数据进行操作。或者加上鼠标事件的处理来完成绘画功能等等,这里主要是对JPEG文件进行操作的部分。 注意:程序中的CTScreenBuffer并未使用,原因是使用它加载后有段内存没有释放,加上BMP数据本来就比较好处理,所以自己写一段,将BMP数据加上头信息就可以CreateDIBSection了。 保存的默认质量Q=85,大家在使用时可以按照要求改变。 对应的PC版可以在VC下面编译使用,是基本的图象处理程序框架。 -the procedures in EVC4.0 PPC SDK under debugging through 2003. Independent JPEG Group with the issue for JpegLib Jpeg image Read and preservation. Here are adding a simple example of the treatment -- Negative. Other treatment can be used with a similar approach, with the right algorithm pixel data for the operation. Mouse or with the handling of the incident to complete the painting functions, and so on, here are the major JPEG files part of the operation. Note : CTScreenBuffer the procedures had not been used. It is due to the use of loading after not release memory, coupled with BMP data was relatively easy to deal with. So he has written section BMP data will be coupled with the first information on the CreateDIBSection. Preserve the quality of the default Q = 85, we can use the request
Platform: | Size: 750351 | Author: king | Hits:

[Multimedia DevelopRplColor

Description: When I wrote this function my problem was to replace one color by an other on transparent bitmaps. My images were resources bitmaps, which I store in an ImageList for easy transparency. There is no easy way to directly access a Bitmap s pixel on Win32. If you re interested in, this article may help you to understand the usage of CreateDIBSection. If you have to load a bitmap from resource and made many color replacements, or if you have to change a color in a HBITMAP this function is for you. If you have a bitmap in resource and want to replace one or more color on load, it s better to use CreateMappedBitmap. You can found in the sample program a ReplaceColor function which use CreateMappedBitmap. I ve made the same code using only BitBlt. All BitBlt are really fast but the creation of the mask bitmap is so slow than the whole function is twice slower than the code using CreateDIBSection. ( sources are in the sample ) -When I wrote this function was to my problem replace one color by an other on transparent bit maps. My images were resources bitmaps, which I store in an ImageList for easy transpare ncy. There is no easy way to directly access a Bit 's pixel map on Win32. If you're interested in, this article may help you to understand the risques e of CreateDIBSection. If you have to load a bitm ap from resource and made many color replacemen ts. or if you have to change a color in a HBITMAP this f unction is for you. If you have a bitmap in resour ce and want to replace one or more color on load, it's better to use CreateMappedBitmap. You can f ound in the sample program a ReplaceColor funct ion which use CreateMappedBitmap. I've made the same code using only BitBlt. All are real BitBlt
Platform: | Size: 6144 | Author: 孙磊 | Hits:

[Special Effectsdssdf

Description: 本程序在EVC4.0+PPC SDK 2003下调试通过。 用Independent JPEG Group发行的JpegLib进行Jpeg图像的读取与保存。 这里只加了一个简单的处理示例——负片。其他的处理可以用与这个类似的方法,有了处理的算法对像素数据进行操作。或者加上鼠标事件的处理来完成绘画功能等等,这里主要是对JPEG文件进行操作的部分。 注意:程序中的CTScreenBuffer并未使用,原因是使用它加载后有段内存没有释放,加上BMP数据本来就比较好处理,所以自己写一段,将BMP数据加上头信息就可以CreateDIBSection了。 保存的默认质量Q=85,大家在使用时可以按照要求改变。 对应的PC版可以在VC下面编译使用,是基本的图象处理程序框架。 -the procedures in EVC4.0 PPC SDK under debugging through 2003. Independent JPEG Group with the issue for JpegLib Jpeg image Read and preservation. Here are adding a simple example of the treatment-- Negative. Other treatment can be used with a similar approach, with the right algorithm pixel data for the operation. Mouse or with the handling of the incident to complete the painting functions, and so on, here are the major JPEG files part of the operation. Note : CTScreenBuffer the procedures had not been used. It is due to the use of loading after not release memory, coupled with BMP data was relatively easy to deal with. So he has written section BMP data will be coupled with the first information on the CreateDIBSection. Preserve the quality of the default Q = 85, we can use the request
Platform: | Size: 750592 | Author: king | Hits:

[GDI-Bitmapzflash

Description: zFlash.lib在flash插件的支持下,可以播放Flash,并逐帧截图-zFlash.lib in the flash plug-in support, can play Flash, and frame-by-frame screenshot
Platform: | Size: 10240 | Author: liuxin | Hits:

[GDI-BitmapSaveDCToBMP

Description: 前几天要写一段在Windows CE 下拷屏的程序,但是CE不支持GetDIBits这个API,这可难坏了我,在网上查了半天资料,最后用CreateDIBSection搞定,现封装成一个函数SaveDCToBMP,方便大家使用-A few days ago to write a section in the Windows CE screen copy of the procedures, but CE does not support GetDIBits this API, it can be difficult for me out of online information search for a long time, and finally get to use CreateDIBSection, it is packaged as a function SaveDCToBMP, to facilitate the use of U.S.
Platform: | Size: 1024 | Author: Jason | Hits:

[Special EffectsBmpShow_in_wince

Description: wince下图像与文字的合成,在bmp上写字打logo,是对VC下bmpshow的改写,移植到了wince下,解决了CreateDIBSection替换GetDIBits的难题,本人原创。在Windows Mobile 5.0 Pocket PC SDK (ARMV4I)下运行通过。-The synthesis of bmp image and text: write worlds or a logo, is modified from "bmpshow" in VC, Solve the problem CreateDIBSection replacement GetDIBits,original written by myself. It has test and verified in Windows Mobile 5.0 Pocket PC SDK (ARMV4I).
Platform: | Size: 1855488 | Author: 王海亮 | Hits:

[Button controlDLL

Description: 动态链接库一个很精简的相册程序,界面美化,很适合用在个人主页上<br> 管理用户名为:admin<br> 密码:admin -CWinApp CSingleDocTemplate CCommandLineInfo ShowWindow UpdateWindow CDialog CDataExchange CDocument CView CDC CFile ReadFile CPrintInfo DeleteObject CException CreateBitmap CreateDIBitmap CreateDIBSection CreatePalette CreateHalftonePalette SelectPalette RealizePalette CreateFile CreateFileMapping GetLastError MapViewOfFile WriteFile StretchDIBits UnmapViewOfFile CloseHandle CFrameWnd
Platform: | Size: 9931776 | Author: 顾云华 | Hits:

[VC/MFCConversion_and_preserve_the_bitmap

Description: 如何替换HBITMAP中的颜色值。初始化BITMAPINFO信息,以便使用CreateDIBSection-CreateDIBSection
Platform: | Size: 3072 | Author: luke | Hits:

[GDI-BitmaptestDrawGray

Description: 实现GDI图像实时显示,createDIBsection+Bitbl组合与setdibitstodevice两种方式,可作为数据采集实时显示的框架。程序中数据为随机产生的假数据。-GDI achieve real-time image display, createDIBsection+Bitbl combination setdibitstodevice two ways, as a framework for real-time display of data collection. Program data is randomly generated false data.
Platform: | Size: 204800 | Author: luo | Hits:

CodeBus www.codebus.net