我想通过C程序读取.Jpg图像文件。请指导我!我没有要求代码,我在这里要求步骤! [英] I Wanna To Read A .Jpg Image File Through C Program. Please Guide Me! I Am Not Asking For Codes, I Am Asking Here For The Steps!

查看:337
本文介绍了我想通过C程序读取.Jpg图像文件。请指导我!我没有要求代码,我在这里要求步骤!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!我正在尝试编写图像阅读代码,但我不知道我该怎么做。我对你们所有人的谦卑要求请给我指导。我不是在寻找代码,但我想学习如何编写相同的代码!

解决方案

通常你使用一个库来将jepg文件加载到有用的东西中(参见例如,使用GDI + 加载和显示位图 / a> [ ^ ]。

一个完全不同的问题是自己编写jpeg解码器。这是一项非常艰巨的任务( Google是你的朋友 [ ^ ]。。


引用:

我不是有这个想法我怎么能这样做。我对你们所有人的谦卑请求请给我指导

你走错了路。

不要做这个项目,还没有。



我的猜测是你正在学习编程。

你必须知道你几乎可以用任何语言做任何事情,只是一些语言对于初学者来说更难,因为有更多的陷阱要处理。



建议:

- 从简单/安全的语言开始:VB,Java,C#,而不是C

- 阅读文档/关注教程(很多)

- 从小/开始无用的项目,目的是学习编程,而不是做一些有用的事情。

- 从控制台模式程序开始(没有花哨的图形,没有鼠标)。

- 有问题吗?谷歌是你的朋友。

- 学习布尔代数

- 学习一种或多种分析方法,我建议 E.W. Djikstra自上而下的方法



没有知识的捷径,没有人可以为你学习,你是唯一可以做到的人。


Hello Everyone! i am trying to write codes for image reading now a days but i am not having the idea how can i do it. my humble request to all of you please give me guidance. I AM NOT LOOKING FOR CODES BUT I WANT TO LEARN HOW TO CODE FOR THE SAME!

解决方案

Usually you use a library for loading a jepg file into something useful (see, for instance, "Loading and Displaying Bitmaps" using GDI+[^].
A completely different matter would be writing yourself the jpeg decoder. This is a pretty hard task (Google is your friend[^]).


Quote:

i am not having the idea how can i do it. my humble request to all of you please give me guidance

You are on the wrong way.
Don't do this project, not yet.

My guess is that you are learning programming.
You have to know that you can do pretty much anything in any language, simply some languages are harder for beginners because there is more pitfalls to handle.

Advices:
- Start with an easy/safe language: VB, Java, C#, not C
- Read documentation / Follow tutorials (a lot of them)
- Start with tiny/useless projects, the purpose is to learn programming, not doing something useful.
- Start with console mode programs (no fancy graphics, no mouse).
- A problem ? Google is your friend.
- Learn Boole algebra
- Learn one or more analyse methods, I recommend E.W. Djikstra top-Down method

There is no shortcut to knowledge, no one can learn for you, you are the only one that can do it.


这篇关于我想通过C程序读取.Jpg图像文件。请指导我!我没有要求代码,我在这里要求步骤!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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