[gameprogrammer] Re: Image libraries.

I'd suggest Corona then. Beware though, it isn't as easy to use as
SDL_Image. I'm developing a 2D/3D engine using OpenGL/SDL and we use
SDL_Image. It's just simply plain to use, and you'll have raw access to the
image's pixel data.

Good luck with Corona though ;).

On Feb 15, 2008 8:28 PM, Robbert de Groot <zekaric@xxxxxxxx> wrote:

> Right, I guess I should have mentioned that I'm working in C.
> However a C++ library can be ok as well.  It shouldn't be hard to
> make a C wrapper for what I need.
>
> Mainly reading in various formats to be used as textures on 3D
> objects.  So ripping out the raw pixels from the library's cold hands
> is a must.  This can't be just one format because clients can have
> different requirements.
>
> Exporting is mainly to dump out screen captures or plots to the
> format of choice for the client.  So also different formats needed.
> So Raw pixels to the library's way of thinking of images.
>
> The main formats (PNG, BMP, TGA, TIFF, JPG) are needed at least.  The
> others will be just bonus.  Image manipulation isn't needed at all
> (blurr, color reduction etc.)
>
> I just looked at SDL_Image and I thought it was only reading.  At
> least the doc/web page didn't indicate writing as an option.  Guess
> I'll be taking another look.  Also, my work has to be usable in
> existing products which don't use SDL.  SDL_Image may mean some work
> on my part to get it independent of libSDL.
>
>
> --- Bob Pendleton <bob@xxxxxxxxxxxxx> wrote:
>
> > I'm assuming you are working in C/C++? I ask 'cause there is a very
> > nice
> > image processing library that is part of Java. And, I have to ask,
> > what are
> > you doing with the files once you have read them? Do you just want
> > to read
> > them and write them or are you looking to convert then to different
> > formats,
> > do image processing, what?
> >
> > For simply reading/writing and some scaling and depth changes you
> > might want
> > to look at eh SDL image library. It is based on top the libpng,
> > libjpg,
> > libtiff, etc and does a good job of reading and writing images. You
> > can then
> > use SDL to process the images. SDL can be made to work in a command
> > line
> > tool by using the "dummy" drivers for video and audio.
> >
> > Bob Pendleton
> >
> > On 2/15/08, Robbert de Groot <zekaric@xxxxxxxx> wrote:
> > >
> > > I've been tasked at work to import and export images of various
> > > formats.  I'm looking for an image library that is reasonably
> > easy to
> > > use.  So far I've looked at the following two.
> > >
> > > LEADTools Raster Image Pro
> > > ImageMagick
> > >
> > > They seemed to be the most complete.  LEADTools ended up being
> > much
> > > easier to use.  Their doc was much more helpful.  ImageMagick
> > > suffered in terms of speed as well as being baffling at times,
> > too
> > > much frustration.
> > >
> > > Anyhow.  Has anyone played with any other image libraries that I
> > > should check out before setting on something?  I've come across
> > the
> > > following in my hunt but haven't used them; I just had a cursory
> > look
> > > at what they had to offer.
> > >
> > > DevIL - Like OpenGL for image handling.  Seemed a little odd IMO.
> > > FreeImage - Didn't look as mature but I can be swayed.
> > > GIL - Also very imature even though it's Adobe.
> > > Corona - Has a long way to go from the looks of it.
> > >
> > > I've looked at using the individual libraries like libpng,
> > libjpg,
> > > libtiff, etc.  but after playing with two of them and moving onto
> > the
> > > third it becomes clear that there is a bit of pain having to get
> > > these things compiled and integrated and such.  I just want to
> > get on
> > > with it. :P
> > >
> > > So, looking for options and opinions if any one has any.
> > >
> > > Thanks.
> > >
> > > Robbert de Groot
> > >
> > >
> > >       Looking for the perfect gift? Give the gift of Flickr!
> > >
> > > http://www.flickr.com/gift/
> > >
> > >
> > > ---------------------
> > > To unsubscribe go to http://gameprogrammer.com/mailinglist.html
> > >
> > >
> > >
> >
>
>
> Robbert de Groot
>
>
>      Be smarter than spam. See how smart SpamGuard is at giving junk email
> the boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch
> to New Mail today or register for free at http://mail.yahoo.ca
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
>

Other related posts: