How to write a C code to load an image file.

This is a discussion on How to write a C code to load an image file. within the C Programming forums, part of the General Programming Boards category; I have been struggled in writing a C program to load an image file(.gif,.bmp...). This is kinda piece of cake ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    85

    Question How to write a C code to load an image file.

    I have been struggled in writing a C program
    to load an image file(.gif,.bmp...). This is kinda piece of cake if implement in Java for me, but not C.
    Anybody can help or any good advice?
    Thanx!

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    - This is pretty OS specific, and you didn't mention what you are doing it on.

    - There's some stuff in the faq, but I presume you've already read that

    - Have you tried a board search?

    - You need to show some code, if you want to get it fixed.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669
    Check this site for the C code of the .BMP or .GIF file format.
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  4. #4
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    hasn't this question been asked like billions of times?
    Search Results
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

  5. #5
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    One of the best sites for file formats is Wotsit. They have a ton of formats.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  3. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  4. Stuck in a loop!.....Get me out of here!!
    By rabmaz in forum C Programming
    Replies: 3
    Last Post: 09-01-2002, 09:16 AM

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