Thread: *question* Reading Image Files

  1. #1
    Registered User madsmile's Avatar
    Join Date
    Feb 2002
    Posts
    26

    Question *question* Reading Image Files

    I want to know if some1 can help me. i'm working with borland C v3.1, i want to read image files to load them on graphic mode (using graphics.h and SVGA256.bgi). I know this SVGA256.BGI can be used with all the a palete, but i don't know how to set the palete or get the palete... i have seen some amazing programs made with borland using this .bgi, they load .JPG and .PCX and .BMP to the interface, and that's what I just need... if some1 can tell help (i don't want the source code, i want help finding the strcuture of a image file, and help with the palete... )

    PD: if some1 know a better grapchis interface i can use with borland and it works in 800x600 or more that can be useful too.
    MADSmile
    ICQ #3653692
    (i'm running Borlad C++ Ver 3.1 under MSDOS)

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212

  3. #3
    Registered User madsmile's Avatar
    Join Date
    Feb 2002
    Posts
    26
    yeah, but this link is broken...

    http://users.ox.ac.uk/~ball0597/Refe...wsProgramming/

    i want to know the structure of a image file... (the header, where is the palete, and where is the info)
    MADSmile
    ICQ #3653692
    (i'm running Borlad C++ Ver 3.1 under MSDOS)

  4. #4
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Instead of the link in the FAQ, go to www.sunlightd.com/Windows

    Also, try www.wotsit.org for file format.

  5. #5
    Registered User madsmile's Avatar
    Join Date
    Feb 2002
    Posts
    26
    wow that's exactly what i need... thx... you should make a small links page for reference like that...
    MADSmile
    ICQ #3653692
    (i'm running Borlad C++ Ver 3.1 under MSDOS)

  6. #6
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    We have a links directory, don't we?
    http://www.cprogramming.com/cgi-bin/cdir/Cdirectory.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem reading tiff image files?
    By compz in forum C++ Programming
    Replies: 9
    Last Post: 10-30-2009, 04:17 AM
  2. Reading multiple files in C
    By anjanaanupindi in forum C Programming
    Replies: 8
    Last Post: 10-03-2007, 05:35 AM
  3. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  4. Prob with padding in BMP image files
    By tin in forum Game Programming
    Replies: 2
    Last Post: 01-09-2006, 07:23 AM
  5. Reading Files off the internet
    By Unregistered in forum C++ Programming
    Replies: 0
    Last Post: 03-24-2002, 01:18 PM