Need a Code to display .jpg files

This is a discussion on Need a Code to display .jpg files within the C++ Programming forums, part of the General Programming Boards category; I am using Turbo C++, as IAM just a beginner. Well, I require a code that can help me display ...

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    5

    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
    Location
    CA
    Posts
    2,459
    Hm, seems the case be you are using DOS. If so, then head on over to www.wotsit.org 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 www.djgpp.com 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
    Posts
    106
    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
    Xei
    Xei is offline
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719

    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
    Posts
    2,297
    never mind all that other nonsense...

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

    http://www.ijg.org/

    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, 04: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 Cprogramming.com
    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, 08:35 AM

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