从网址读取图片 [英] read image from url

查看:87
本文介绍了从网址读取图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人能指出一个可以从

网址读取图像到内存的库?在Java中这很容易,但是用c / c ++很难找到一个完整的

解决方案。


谢谢,

Hi, can anyone point me a library that can read image to memory from a
URL? It is very easy in Java, but it is hard to find an complete
solution in c/c++.

Thanks,

推荐答案

qu ****** @ yahoo.com 写道:

有人能指出一个可以从

URL读取图像到内存的库吗?在Java中它非常简单,但很难在c / c ++中找到完整的

解决方案。
Hi, can anyone point me a library that can read image to memory from a
URL? It is very easy in Java, but it is hard to find an complete
solution in c/c++.



也许是因为神秘的语言C / C ++没有退出?


你必须用自己喜欢的语言找到自己的HTTP库。


-

Ian Collins。

Maybe because the mythical language of C/C++ doesn''t exit?

You will have to find yourself an HTTP library in your preferred language.

--
Ian Collins.


Ian Collins发布:
Ian Collins posted:
qu ****** @ yahoo.com 写道:

>可以有人给我指的是一个可以从URL读取图像到内存的库吗?在Java中很容易,但很难在c / c ++中找到完整的解决方案。
>Hi, can anyone point me a library that can read image to memory from
a URL? It is very easy in Java, but it is hard to find an complete
solution in c/c++.



也许是因为C / C ++的神话语言不退出?

Maybe because the mythical language of C/C++ doesn''t exit?



连续5个字符C / C ++,指的是C或C ++。

如果我要编写一个没有使用C ++提供的扩展功能的程序,那么我称之为C程序。


让我想起赛车制造商如何试图获得道路价值的价值。他们的赛车;这些车辆主要是赛车,而不是公路车辆,但是如果它们能够获得路面价值,那么那就太棒了!那就太棒了! />

如果你开始编写一个程序而不打算使用C ++功能来禁止使用

,并且最终还是会完成

产品没有使用C ++的功能,那就像设计一辆赛车一样设置

,最后得到一辆也值得用途的汽车。 br />

我比较了编译为C的能力。带有道路价值标记 -

它是锦上添花!


我*从不*犹豫使用C ++功能,(我实际上使用它们非常

经常),但如果我有一天制作了一个完全没有使用任何C ++

功能的程序,我会考虑回过头来改变它

C的一切。


如果你追求多功能性,那么拥有C代码比使用C ++代码更好。

-


Frederick Gotham


The 5 consecutive characters, "C/C++", refer to "C or C++".

If I were to write a program which didn''t use the extended features which
C++ provides over C, then I''d call it a C program.

Makes me think of how race car manufacturers try to get a "road
worthiness stamp" for their race vehicles; these vehicles are primarily
race vehicles, not road vehicles, but if they can get a road-worthiness
stamp for it aswell, then that''s great!

If you start off writing a program with no intention of prohibiting
yourself from using C++ features, and still end up with a finished
product which doesn''t use C++ features, then it''s quite like setting out
to design a race car, and ending up with a car that''s also road-worthy.

I compare the ability to "compile as C" with a "road worthiness stamp" --
it''s the icing on the cake!

I *never* hesitate to use C++ features, (and I actually use them quite
often), but if I did some day produce a program which didn''t use any C++
features at all, I''d consider going back through it and changing
everything to C.

If you''re after versatility, it''s better to have C code than C++ code.
--

Frederick Gotham




Frederick Gotham写道:

Frederick Gotham wrote:

Ian Collins发布:
Ian Collins posted:
qu * *****@yahoo.com 写道:

您好,有人能指出一个可以从中读取图像到内存的库

a网址?在Java中它非常简单,但很难在c / c ++中找到完整的

解决方案。
Hi, can anyone point me a library that can read image to memory from
a URL? It is very easy in Java, but it is hard to find an complete
solution in c/c++.



也许是因为神秘的语言C / C ++没有退出?

Maybe because the mythical language of C/C++ doesn''t exit?




连续5个字符C / C ++指的是C或C ++。


如果我要编写的程序没有使用C ++提供的扩展功能,那么我称之为C程序。


让我想起赛车制造商如何试图获得道路价值的价值。他们的赛车;这些车辆主要是赛车,而不是公路车辆,但是如果它们能够获得路面价值,那么那就太棒了!那就太棒了! />

如果你开始编写一个程序而不打算使用C ++功能来禁止使用

,并且最终还是会完成

产品没有使用C ++的功能,那就像设计一辆赛车一样设置

,最后得到一辆也值得用途的汽车。 br />

我比较了编译为C的能力。带有道路价值标记 -

它是锦上添花!


我*从不*犹豫使用C ++功能,(我实际上使用它们非常

经常),但如果我有一天制作了一个完全没有使用任何C ++

功能的程序,我会考虑回过头来改变它

C的一切。


如果你追求多功能性,那么拥有C代码比使用C ++代码更好。


-


Frederick Gotham



The 5 consecutive characters, "C/C++", refer to "C or C++".

If I were to write a program which didn''t use the extended features which
C++ provides over C, then I''d call it a C program.

Makes me think of how race car manufacturers try to get a "road
worthiness stamp" for their race vehicles; these vehicles are primarily
race vehicles, not road vehicles, but if they can get a road-worthiness
stamp for it aswell, then that''s great!

If you start off writing a program with no intention of prohibiting
yourself from using C++ features, and still end up with a finished
product which doesn''t use C++ features, then it''s quite like setting out
to design a race car, and ending up with a car that''s also road-worthy.

I compare the ability to "compile as C" with a "road worthiness stamp" --
it''s the icing on the cake!

I *never* hesitate to use C++ features, (and I actually use them quite
often), but if I did some day produce a program which didn''t use any C++
features at all, I''d consider going back through it and changing
everything to C.

If you''re after versatility, it''s better to have C code than C++ code.
--

Frederick Gotham



我们帮个忙,然后离开

Do we a favor and go away


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

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