473,395 Members | 1,442 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,395 software developers and data experts.

Processing Images: Need good library for various image formats

Hi!

I'd like to manipulate Images of various types (PNG, JPEG, GIF, BMP, maybe more) with a C++ program.
Now I've found the Cimg library, but before diving deeper into that lib, I'd like to have some suggestions
on other librarys for image processing.

Those libs, don't need to be elaborate or something, resizing and cutting the image into smaler parts would
be sufficient.

However, I'd like that lib to be able to handle a variety of image-types.

Any suggestions?

regards
--polemon

--
-EOF-
Jul 18 '07 #1
4 1627

polemon <po*****@gmail.comwrote in message...
Hi!
I'd like to manipulate Images of various types (PNG, JPEG, GIF, BMP, maybe
more) with a C++ program.
Now I've found the Cimg library, but before diving deeper into that lib,
I'd like to have some suggestions
on other librarys for image processing.
Those libs, don't need to be elaborate or something, resizing and cutting
the image into smaler parts would be sufficient.
However, I'd like that lib to be able to handle a variety of image-types.
Any suggestions?
wxWidgets has some nice classes for images. Easy to use.

wxWidgets URL: http://www.wxwidgets.org

--
Bob R
POVrookie
Jul 19 '07 #2
On 2007-07-19 00:46, polemon wrote:
Hi!

I'd like to manipulate Images of various types (PNG, JPEG, GIF, BMP, maybe more) with a C++ program.
Now I've found the Cimg library, but before diving deeper into that lib, I'd like to have some suggestions
on other librarys for image processing.

Those libs, don't need to be elaborate or something, resizing and cutting the image into smaler parts would
be sufficient.

However, I'd like that lib to be able to handle a variety of image-types.

Any suggestions?
Don't know any libraries that support that, but there are a number of
libraries that can read in images of various types and return a neutral
format (like a bitmap) and then you just have to find a library which
can operate on those. Try googling for libpng, libgif, libjpeg etc.

--
Erik Wikström
Jul 19 '07 #3
On Jul 18, 6:46 pm, polemon <pole...@gmail.comwrote:
Hi!

I'd like to manipulate Images of various types (PNG, JPEG, GIF, BMP, maybe more) with a C++ program.
Now I've found the Cimg library, but before diving deeper into that lib, I'd like to have some suggestions
on other librarys for image processing.

Those libs, don't need to be elaborate or something, resizing and cutting the image into smaler parts would
be sufficient.

However, I'd like that lib to be able to handle a variety of image-types.

Any suggestions?

regards
--polemon

--
-EOF-
Hi,

SDL with SDL_image works well for all those file types you mentioned,
plus many more.

Jim

Jul 19 '07 #4
polemon wrote:
Those libs, don't need to be elaborate or something, resizing and cutting the image into smaler parts would
be sufficient.

However, I'd like that lib to be able to handle a variety of image-types.

Dear polemon,

I'm using ImageMagick, more specifically the C++ library Magick++. It
can handle a LOT of formats
(http://www.imagemagick.org/script/formats.php), it's also quite a
powerful library, but you can cropjust ignore the things you don't need.
The only thing, it can be tricky to use under windows (Visual Studio),
even if it is actually possible.

Regards,

Zeppe
Jul 22 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Clyde Ellul | last post by:
Hi there. I need to write a simple program that reads a GIF image from an input stream, resizes it, then writes it back to an output stream in the same format (GIF). (JPEG input/output is good...
0
by: Andreas Håkansson | last post by:
Hiya! I'm currently looking for a good image processig component (classes) to use in a project. I do not want to controls (winform or webform) since I will be doing this with code. I actually...
11
by: Detlef Hüttenbach | last post by:
Whereas loading tiffs and pngs from file into an Image WebControl work, the images aren't shown when loaded from streams: In a WebForm, the image's property "ImageUrl" is set to a handler, and...
61
by: phil-news-nospam | last post by:
Why does SVG need a different tag than other images? IMHO, SVG should be implemented as an image type just like any other image type, allowing it to work with <img> tags, and ... here is the...
6
by: NutsAboutVB | last post by:
Hello, I am a .NET programmer and I have a JPEG image file (from digital camera) of about 109 KB's in size, when I open it and save it (without making any alterations at all, just going to File...
0
by: Axeman | last post by:
I have an ASP.NET webapp that needs to view and print several different image formats (JPG, TIFF, BMP, etc.). In addition, it also needs to view/print PDF files. I have successfully implemented the...
3
by: pedrito | last post by:
I've got an app that downloads images off the internet using anywhere from 1-20 threads concurrently (though generally around 4 threads). I have a preview page that shows the images as they're...
3
by: =?Utf-8?B?UiBSZXllcw==?= | last post by:
Hi! This discussion may help other programmers get a better idea of how to save uploaded images through a website. Why? Well currently, I save 3 versions of every uploaded image on my own...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.