473,320 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Looking for a *FAST* graphics library More options

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
3 2099
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: qumpus | last post by:
My program right now generates USPS style shipping label using System.Drawing.Graphics. It works fine except that the printer prints really slowly. I want to make my program take advantage of true...
2
by: Rick D. | last post by:
Hi all, I'm looking for information on running a c# application on a webpage, just like a java-applet. And the second thing i'm looking for is information on how to display 3d graphics with...
1
by: _R | last post by:
I'm porting an old app from VC++6 to .NET and need to update the bitblt functions from DibSection to managed code. The older functions ran fine but I may as well opt for the fastest, most...
2
by: predseda | last post by:
I would like to ask you, if you know about something like Tanner Helland's graphic tutorials (http://tannerhelland.tripod.com/VBGraphicsTutorial.htm)but VB.Net compatibile. I need to create...
13
by: cartoper | last post by:
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...
0
by: Sharath | last post by:
Quality Globe is Glad to Offer you the Fast Track course on Automation, QTP Basics and Advanced, and Quality Center Starting Date: June 4th, 2007 Timings: 10 AM to 3:30 PM Duration: 50 Hours ...
0
by: Sharath | last post by:
"Inspired" by the huge success of our first two automation fast track batches We are forced to start third fast track automation batch ...
0
by: Sharath | last post by:
We are glad to inform you that "Inspired" by the huge success of our first three automation fast track batches We are forced to start fourth fast track automation batch ...
0
by: Sharath | last post by:
We are glad to inform you that "Inspired" by the huge success of our first four automation fast track batches We are forced to start fifth fast track automation batch ...
6
by: jt | last post by:
i think i was not clear in my quesiton. my question actually was how to store a graphics image generated in C. Eg. #include<graphics.h> void main() { int gm,gd=DETECT; initgraph(&gd,&gm,"");...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.