Using Images...

This is a discussion on Using Images... within the C++ Programming forums, part of the General Programming Boards category; Well, i was wondering... how can i use images from my hard drive in a C++ file? Which library would ...

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    168

    Using Images...

    Well, i was wondering... how can i use images from my hard drive in a C++ file? Which library would that require? Because all other graphic libraries like openGL and DirectX directly draw polygons and similiars :\
    -Felix
    Rots Soft
    If the facts don't fit the theory, change the facts.
    Albert Einstein (1879 - 1955)

  2. #2
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    there are other libraries that work well. Allegro is a good one that is fairly simple to learn with good documentation, and in my opinion isnt too hard to use. It is intended more for console mode programs. It can be found at http://www.talula.demon.co.uk/allegro/ .Another one I recently found is called libcon which can be found at www.photoneffect.com and is a great library for any graphics or game application, but has a much greater learning curve and in my opinion poor documentation
    Last edited by Draco; 12-07-2003 at 12:07 PM.

  3. #3
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    I use jpeglib www.ijg.org

  4. #4
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    CxImage here, doesn't come with much documentation, but it does come with some examples and full source code Also supports most of the major image formats.

    Can be got from Codeproject - CxImage

  5. #5
    Registered User
    Join Date
    Nov 2003
    Posts
    168
    Wow, it's all a bit confusing - can't really install CxImage o.O
    I'll try allegro.

    [EDIT]
    Wow, these ZIP files are so annoying :\ I've got no idea how to install all this. Can anyone explain me how?
    [/EDIT]
    Last edited by Felix; 12-08-2003 at 09:12 AM.
    -Felix
    Rots Soft
    If the facts don't fit the theory, change the facts.
    Albert Einstein (1879 - 1955)

  6. #6
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    Originally posted by _Elixia_
    CxImage here, doesn't come with much documentation, but it does come with some examples and full source code Also supports most of the major image formats.

    Can be got from Codeproject - CxImage
    I used CxImage as well....Felix, do a search on this board for image manipulation, some of my previous threads should come up....there also should be a link to a prog I made using cximage

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Images
    By _Nate_ in forum C Programming
    Replies: 4
    Last Post: 05-18-2008, 10:50 PM
  2. Images
    By gvector1 in forum C++ Programming
    Replies: 7
    Last Post: 02-25-2003, 08:59 AM
  3. images, icons, and cursors, OH MY!
    By DarkViper in forum Windows Programming
    Replies: 3
    Last Post: 01-07-2003, 01:26 PM
  4. STL, Queues And Images
    By simly01 in forum C++ Programming
    Replies: 3
    Last Post: 06-24-2002, 12:31 PM
  5. A simple question on Images....
    By LonelyPlanetWa in forum C Programming
    Replies: 7
    Last Post: 05-20-2002, 07:34 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21