C语言代码,用于计算保存在本地驱动器中的映像的像素值。 [英] Code in C language for counting the pixel value of an image saved in my local drive.

查看:46
本文介绍了C语言代码,用于计算保存在本地驱动器中的映像的像素值。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须开始使用C中的图像加密工作。我曾经使用java但现在想要从java切换到C语言。但在初始阶段,我有一个问题,即我怎么开始甚至无法在C中打开或显示图像。如果你对我好,请告诉程序或代码显示或计算存储在C中的图像像素我的本地车道。



我尝试过的事情:



尝试了c图形头文件和c图形的功能,但仍然没有得到解决方案。

i have to start work on image encryption in C. i used to work with java but now want to switch from java to C language. But at initial stage i have problem that how do i start even can't open or display image in C. if you kind to me, please tell the program or code for displaying or count the pixels of the image in C which is stored in my local drive.

What I have tried:

tried c graphics header file and functions of c graphics but still not get the solution.

推荐答案

你可以使用 FreeImage项目 [ ^ ]


在C中没有标准方式显示图像 - 你必须查看并找出编译系统提供的图形库,因为它会因系统而异。然后,您将需要查找特定图形库的教程/手册/示例代码。



C是一种通用语言,与任何框架无关,与大多数Java实现不同。
There is no "standard way" to display an image in C - you will have to look and find out what graphics libraries are provided with your compilation system, as it will vary from system to system. You will then have to look for tutorials / manuals / sample code for that specific graphics library.

C is a general purpose language which is not specifically ties to any framework, unlike most Java implementations.


这篇关于C语言代码,用于计算保存在本地驱动器中的映像的像素值。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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