GDI位图 - > PNG文件? [英] GDI bitmap -> PNG file?

查看:88
本文介绍了GDI位图 - > PNG文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个C ++ pgm,它使用GDI的绘图功能(GDI,而不是GDI +)在屏幕上绘制简单的图像。如何使用WIC将我的pgm生成的位图输出到PGN文件?我发现的例子似乎都假设你开始使用已解码的图像
文件。

I have a C++ pgm which draws simple images on the screen, using GDI's drawing functions (GDI, not GDI+). How can I use WIC to output the bitmaps my pgm produces to PGN files? The examples I find all seem to assume you are starting with an image file which is decoded.

64位Windows 7,Visual Studio 2013。

64-bit Windows 7, Visual Studio 2013.

推荐答案

参见段落  绘制位图源


这篇关于GDI位图 - > PNG文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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