Thread: read and write image using C programming

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    1

    read and write image using C programming

    How can I read and write image using C programming?
    is there exists a library to do it?
    I want to read JPG Image.
    I use windows XP.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Wotsit.org

    I'm sure if you hit up your favorite search engine you could probably find some sort of library to do some of the work for you. But wotsit has file formats if you want to roll your own.


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

  3. #3
    Registered User jephthah's Avatar
    Join Date
    May 2010
    Location
    seattle
    Posts
    49
    Quote Originally Posted by SHCS View Post
    I want to read JPG Image.
    what does this mean? you want to read the codec bytestream in a JPG file? so that you can ... manipulate and modify the image? you need to first understand the JPG file format. and you're probably in for a long afternoon.


    or... do you want to read the meta-data tags in a JPG file to get info like camera model and settings, image size, date picture taken, etc. etc. ? I suspect this is what you want. Here is the EXIF specification, and here is the libexif C EXIF library.

    have fun!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. open read write close
    By mercuryfrost in forum C Programming
    Replies: 7
    Last Post: 08-23-2009, 05:27 PM
  2. Problems with fstream, one variabile for write and read
    By Smjert in forum C++ Programming
    Replies: 3
    Last Post: 02-03-2009, 10:19 PM
  3. read write lock in C#
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 04-16-2008, 08:49 AM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. Serial Communications in C
    By ExDigit in forum Windows Programming
    Replies: 7
    Last Post: 01-09-2002, 10:52 AM