如何将jpeg图像存储在文件中并在"C"语言中显示在屏幕上 [英] How to store jpeg image in a file and show it on screen in 'C' Langauage

查看:71
本文介绍了如何将jpeg图像存储在文件中并在"C"语言中显示在屏幕上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C中进行编码以存储和显示任何类型的图像.

How to code in C to store and to display any kind of images.

推荐答案

在文件中存储JPG图像是什么意思? > 如果要使用C加载JPG(在Windows应用中),可以查看以下旧线程:
如何使用BitBlt显示JPG文件? [ ^ ]
或者您可以使用一些JPG库,例如:
[ ^ ]

但是对我来说,使用Listview然后发送 LVM_SETBKIMAGE [ ^ ](我相信我的至少有2个应用使用了此功能:))
What do you mean of storing JPG image in a file?
If you want to load JPG (in Windows app) using C, you could take a look at this old thread:
How to display a JPG file using BitBlt?[^]
Or you could use some JPG lib like:
this[^]

But to me, it''s a lot easier to use Listview and then send LVM_SETBKIMAGE[^] (I believe there''re at least 2 of my apps using this :))


这篇关于如何将jpeg图像存储在文件中并在"C"语言中显示在屏幕上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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