关于PNG [英] regarding PNG's

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

问题描述

你好,

我想知道如何从C程序加载png文件:confused:..
当我加载png并显示它们时,它们的透明度仍然与实际file:confused:...请帮助!我希望我的项目看起来更好.....
请帮助!!!:X |

hello,

i want to know how to load a png file from C program :confused:..
and when i load the png and display them do their transparency remains as in actual file:confused:...please help!!! as i want my project look better.....
please help!!!: X|

推荐答案

对于C语言,您要么必须使用库(请尝试 ^ ])或编写自己的文件访问例程-请参阅.PNG文件格式规范(请尝试^ ])

就显示时的透明度而言,由于您将自己绘画,因此由您来控制发生的事情!

我只是感到惊讶的是,任何人仍在尝试用C编写Windows应用程序.
For C, you will either have to use a library (try here[^]) or write your own file access routine - see the .PNG file format specification (try here[^])

As far as transparency when you display it, since you will be painting it yourself, it is up to you to control what happens with it!

I am just amazed that anyone is still trying to write windows apps in C...


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

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