Thread: Need a Code to display .jpg files

  1. #1
    Registered User
    Join Date
    Aug 2002

    Need a Code to display .jpg files

    I am using Turbo C++, as IAM just a beginner.
    Well, I require a code that can help me display .jpg , .bmp files
    can any body give me ??

  2. #2
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Hm, seems the case be you are using DOS. If so, then head on over to which is the place for all your file format needs. [Us old school DOS mongers need this...] If DOS is your main platform then I also recommened getting DJGPP at and also RBIL (Ralph Brown's Interrupt List), which I recommend you search for because there are various sources. First thing's first, you'll need to get yourself in a video mode, for that I recommened getting a copy of the VBE standard, I believe up to 3.0 is available for free. You'll be doing VESA, I presume. If you have anymore questions feel free to PM me or reply here on thread so that others can add input.

    Good luck!
    hasafraggin shizigishin oppashigger...

  3. #3
    Registered User
    Join Date
    Jun 2002
    you can use the SDL liblary to show .bmp file and also there are liblarys under linux maybe there are some ports for windows check it out but sdl has windows port
    C++ Makes you Feel Better

    "Gravity connot be held reponsible for people falling in love"--Albert Einstein

  4. #4
    Registered User Xei's Avatar
    Join Date
    May 2002

    This may work

    Try looking up GDI+ library from MSDN, it can load JPG, BMP, GIF, WMA, TIFF, BMP, etc.. its a quite simple set to use.

  5. #5
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    never mind all that other nonsense...

    the independant jpeg group is an organization that distrubutes the code you're looking for freely.

    Have at it. Warning though. The code is purely, nasty C.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  2. Large exe files for small amounts of code problem
    By rainmanddw in forum C++ Programming
    Replies: 4
    Last Post: 11-03-2003, 05:52 PM
  3. I Need To Know Some Things That I Can Put Into A Batch File
    By TheRealNapster in forum A Brief History of
    Replies: 1
    Last Post: 10-20-2003, 08:12 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
  5. header files and code files..
    By CompiledMonkey in forum C++ Programming
    Replies: 4
    Last Post: 02-15-2002, 09:35 AM