473,657 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2117
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.compr ession 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.comp ression".

HTH

P.S.
Google (so far as I know) lacks any ability to set followups, so if
the kind denizens of news:comp.compr ession 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.compr ession 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.comp ression".
Thank you, I did not know that the comp.compressio n 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.compr ession 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.comp ression".

Thank you, I did not know that the comp.compressio n 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
3452
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 type fonts. So I assume it's possible to send Font Type and the text to the printer, and the printer should digest and print faster. Still, barcode info needs to be sent as an image. When I print fifty copies of the same label it prints really...
2
1567
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 c#. And if there are 3d model importers available for it (like milkshape ms3d or something similar). I'm not even sure if all this can be done, but if it can, i would like
1
2559
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 versatile functions available. Not sure if that's managed DirectX or if alternatives are available. I'm primarily imprinting memory-resident bit-patterns ('fonts' roughly speaking, and vector graphics) onto a mem-resident drawing plane (all 2D), then...
2
8435
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 bitmap in array and then draw it on PictureBox or Form but fast... Classic methode bitmap.SetPixel is very slow... Please help me. Thanks.
13
398
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 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...
0
9312
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 Location: BTM Layout 1st Stage, Bangalore
0
2366
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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++ Course on Automation, QTP Basics and Advanced, Quality Center and project ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0
2192
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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Course on Automation, QTP Basics and Advanced, Quality Center and project
0
2066
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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Course on Automation, QTP Basics and Advanced, Quality Center and project
6
4138
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,""); rectangle(50,50,200,300);
0
8413
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8842
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8513
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.