By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,905 Members | 1,607 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,905 IT Pros & Developers. It's quick & easy.

Looking for a *FAST* graphics library More options

P: n/a
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

Mar 30 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
Mar 30 '07 #2

P: n/a
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

Mar 31 '07 #3

P: n/a
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/

Mar 31 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.