Jigar Mehta wrote:
Hye Friends!!,
Happy New Year!!
I am Jigar Mehta from India. Currently I am working on a project
in which I need to compress some images on the harddisk... I want to
make an engine that reads whole BMP image and then compress it.. The
target location can be of any type.. BMP, TIFF, JPG or any.. Some
data loss will be negligible because all the images are having very
high resolution with 32-bit colors (taken from digi-cam).
So, is there any library available in VC.NET for compressing the
images or saving it with some different settings?? Or can we use any
other free library for the task?
If you know any way by which we can compress the images (BMP
types) then please suggest me the way.. I have to do it in VC.NET
only.. (as it is a multithreaded program-fully automated)
There are many image processing libraries available, some free, some not.
For the best performance (as far as any I've used), the clear choice is
Pegasus (
http://www.pegasusimaging.com/documentimaging.htm). It's also the
most expensive and has a horribly (and needlessly) difficult 'C' API. (They
also support COM and .NET APIs that are much more sensible).
Intel provides graphics libraries as a part of the Intel Performance
Primitives
(
http://www.intel.com/software/produc...ipp_home+softw
are_libraries). These libraries were free at one time, but that's no longer
the case. These libraries are reasonably performant for most operations
(although for JPEG, for example, Pegasus will be 2-4 times faster than Intel
IPP).
There's a large opensource image processing library called ImageMagik that's
very popular on *nix. It include a broad selection of moderately performant
image processing functions.
If you're only interested in image compression/decompression, there are
individual open-source libraries available for most popular formats. Try
searching with Google for 'libJPEG', 'libPNG', 'libTIFF'.
-cd