寻找* FAST *图形库更多选项 [英] Looking for a *FAST* graphics library More options

查看:58
本文介绍了寻找* FAST *图形库更多选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个Apache模块(在C / C ++中),需要

调整大小(4MB到16MB)的速度非常快。目标

不是为了使图像看起来非常适合打印,只需要在屏幕上看起来很好,因为屏幕低了rez(最大900x600)。最初我在.Net中做了这个

,为了缩小600万像素的图像,花了大约0.5秒读取

in,缩小尺寸并保存图像。 .Net的主要问题是

它不是crossplate,我将此代码移植到Windows上运行

和* NIX。

我在6MP图像上定时ImageMagick,花了大约2秒钟

没有

我使用哪种过滤器。我确实找到了这个网站:
http://www.thefreecountry .com / sourcecode / graphics.shtml

想知道是否有人知道任何库是否非常快。我也需要在图像上添加文字,但是我想我可以用另一个较慢的库像ImageMagick或者等价的那样来做这个

,ONCE
图像缩小。有什么建议吗?


Cartoper

解决方案

3月30日下午12:10, carto ... @ gmail.com写道:


我正在编写一个需要
$ b $的Apache模块(在C / C ++中) b调整大小(下)大图像(4MB到16MB)非常快。目标

不是为了使图像看起来非常适合打印,只需要在屏幕上看起来很好,因为屏幕低了rez(最大900x600)。最初我在.Net中做了这个

,为了缩小600万像素的图像,花了大约0.5秒读取

in,缩小尺寸并保存图像。 .Net的主要问题是

它不是crossplate,我将此代码移植到Windows上运行

和* NIX。

我在6MP图像上定时ImageMagick,花了大约2秒钟

没有

我使用哪种过滤器。我找到了这个网站: http://www.thefreecountry.com/source ... phics.shtmland

想知道是否有人知道任何库是否非常快。我也需要在图像上添加文字,但是我想我可以用另一个较慢的库像ImageMagick或者等价的那样来做这个

,ONCE
图像缩小。有什么建议?



是的。尝试新闻:comp.compression你的帖子是热门话题。

它们处理有损压缩和无损压缩以及

压缩速度和压缩算法以及压缩思路和

压缩蛇油等


在这里,在news:comp.lang.c中我们只处理C语言。他们

在新闻中有点不太正式:comp.lang.c ++但我想在任何

的情况下,总是最好在肉店里要肉,鲜花在
花店和挤压器店里的挤压器。挤压店

被称为news:comp.compression。


HTH


PS

谷歌(据我所知)缺乏任何设置跟进的能力,所以如果

新闻的种类居民:comp.compression可能会非常善于修剪

他们后续的C和C ++新闻组,这将是非常值得赞赏的。


TIA


3月30日下午5:23,user923005 < dcor ... @ connx.comwrote:


我在6MP图像上定时ImageMagick,花了大约2秒钟

无论我使用哪种过滤器。我确实找到了这个网站:
http://www.thefreecountry .com / sourcecode / graphics.shtml

并且想知道是否有人知道是否有任何图书馆非常快b / b
。我也需要在图像上放置文字,但我想我可以做到这一点

与另一个较慢的库,如ImageMagick或等效的,ONCE

图像是缩小。有什么建议?



是的。尝试新闻:comp.compression你的帖子是热门话题。

它们处理有损压缩和无损压缩以及

压缩速度和压缩算法以及压缩思路和

压缩蛇油等


在这里,在news:comp.lang.c中我们只处理C语言。他们

在新闻中有点不太正式:comp.lang.c ++但我想在任何

的情况下,总是最好在肉店里要肉,鲜花在
花店和挤压器店里的挤压器。挤压车间

被称为news:comp.compression。



谢谢,我不知道comp.compression存在,现在我

做;)

我可以去任何地方学习所有

comp。*新闻组的一般主题吗?


Cartoper


3月30日下午5:13,carto ... @ gmail.com写道:


3月30日下午5:23,user923005 < dcor ... @ connx.comwrote:


我在600万像素上定时ImageMagick无论我使用哪种过滤器,图像都花了大约2秒

。我确实找到了这个网站:

> http ://www.thefreecountry.com/sourcecode/graphics.shtml

并且想知道是否有人知道是否有任何图书馆非常快b / b
。我也需要在图像上放置文字,但我想我可以做到这一点

与另一个较慢的库,如ImageMagick或等效的,ONCE

图像是缩小。有什么建议?


是的。尝试新闻:comp.compression你的帖子是热门话题。

它们处理有损压缩和无损压缩以及

压缩速度和压缩算法以及压缩思路和< br $>
压缩蛇油等等


在这里,在news:comp.lang.c中我们只是处理C语言。他们

在新闻中有点不太正式:comp.lang.c ++但我想在任何

的情况下,总是最好在肉店里要肉,鲜花在
花店和挤压器店里的挤压器。挤压车间

被称为news:comp.compression。



谢谢,我不知道comp.compression存在,现在我

做;)

我可以去任何地方学习所有

comp。*新闻组的一般主题吗?



对于一般常见问题解答:
http://www.faqs.org/faqs/


尤其是电脑用品:
http://www.faqs.org/faqs/by-newsgroup/comp/


I am working on writing an Apache Module (in C/C++) that needs to
resize (down) large images (4MB to 16MB) VERY quickly. The objective
is not to make the images look great for printing, just look good on
the screen as low rez (900x600 max). Initally I was doing this
in .Net, to downsize a 6MP image, it took around 0.5 seconds to read
in, downsize, and save the image. The main problem with .Net is that
it is not crossplate, I am porting this code to run on both Windows
and *NIX.

I have timed ImageMagick on a 6MP image and it took about 2 seconds
no
matter which filter I use. I did find this web site:
http://www.thefreecountry.com/sourcecode/graphics.shtml and was
wondering if anyone knew if any of the libraries where very fast. I
will need to put text on the images, too, but I figure I can do that
with another, slower library like ImageMagick or an equivalent, ONCE
the image is downsized. Any suggestions?

Cartoper

解决方案

On Mar 30, 12:10 pm, carto...@gmail.com wrote:

I am working on writing an Apache Module (in C/C++) that needs to
resize (down) large images (4MB to 16MB) VERY quickly. The objective
is not to make the images look great for printing, just look good on
the screen as low rez (900x600 max). Initally I was doing this
in .Net, to downsize a 6MP image, it took around 0.5 seconds to read
in, downsize, and save the image. The main problem with .Net is that
it is not crossplate, I am porting this code to run on both Windows
and *NIX.

I have timed ImageMagick on a 6MP image and it took about 2 seconds
no
matter which filter I use. I did find this web site:http://www.thefreecountry.com/source...phics.shtmland was
wondering if anyone knew if any of the libraries where very fast. I
will need to put text on the images, too, but I figure I can do that
with another, slower library like ImageMagick or an equivalent, ONCE
the image is downsized. Any suggestions?

Yes. Try news:comp.compression where your post is spot-on topical.
They deal with lossy compression and lossless compression and
compression speed and compression algorithms and compression ideas and
compression snake-oil, etc.

Over here, in news:comp.lang.c we just deal with the C language. They
are a little less formal in news:comp.lang.c++ but I guess that in any
case it is always best to ask for meat in the butcher shop, flowers in
the flower shop and squeezers in the squeezer shop. The squeezer shop
is called "news:comp.compression".

HTH

P.S.
Google (so far as I know) lacks any ability to set followups, so if
the kind denizens of news:comp.compression could be so kind as to trim
the C and C++ newsgroups on their follow-ups, it would be greatly
appreciated.

TIA


On Mar 30, 5:23 pm, "user923005" <dcor...@connx.comwrote:

I have timed ImageMagick on a 6MP image and it took about 2 seconds
no matter which filter I use. I did find this web site:
http://www.thefreecountry.com/sourcecode/graphics.shtml
and was wondering if anyone knew if any of the libraries where very
fast. I will need to put text on the images, too, but I figure I can do that
with another, slower library like ImageMagick or an equivalent, ONCE
the image is downsized. Any suggestions?


Yes. Try news:comp.compression where your post is spot-on topical.
They deal with lossy compression and lossless compression and
compression speed and compression algorithms and compression ideas and
compression snake-oil, etc.

Over here, in news:comp.lang.c we just deal with the C language. They
are a little less formal in news:comp.lang.c++ but I guess that in any
case it is always best to ask for meat in the butcher shop, flowers in
the flower shop and squeezers in the squeezer shop. The squeezer shop
is called "news:comp.compression".

Thank you, I did not know that the comp.compression existed, now I
do;)

Is there anywhere I can go to learn the general topics of all the
comp.* news groups?

Cartoper


On Mar 30, 5:13 pm, carto...@gmail.com wrote:

On Mar 30, 5:23 pm, "user923005" <dcor...@connx.comwrote:


I have timed ImageMagick on a 6MP image and it took about 2 seconds
no matter which filter I use. I did find this web site:
>http://www.thefreecountry.com/sourcecode/graphics.shtml
and was wondering if anyone knew if any of the libraries where very
fast. I will need to put text on the images, too, but I figure I can do that
with another, slower library like ImageMagick or an equivalent, ONCE
the image is downsized. Any suggestions?

Yes. Try news:comp.compression where your post is spot-on topical.
They deal with lossy compression and lossless compression and
compression speed and compression algorithms and compression ideas and
compression snake-oil, etc.

Over here, in news:comp.lang.c we just deal with the C language. They
are a little less formal in news:comp.lang.c++ but I guess that in any
case it is always best to ask for meat in the butcher shop, flowers in
the flower shop and squeezers in the squeezer shop. The squeezer shop
is called "news:comp.compression".


Thank you, I did not know that the comp.compression existed, now I
do;)

Is there anywhere I can go to learn the general topics of all the
comp.* news groups?

For general FAQS:
http://www.faqs.org/faqs/

For computer stuff in particular:
http://www.faqs.org/faqs/by-newsgroup/comp/


这篇关于寻找* FAST *图形库更多选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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