Thread: Image insertion

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    6

    Image insertion

    Hi, i have a little problem here, i am programming a (so far) text based adventure, however i feel it is necessary to upgrade and either pixel map my own images or insert images, i was wondering if any one here knows the syntax for this?
    Help would be appreciated
    =--=L.W.J=--=

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    An answer which depends way too much on so much information which you've missed.
    Like which operating system and compiler are you using.
    Which graphics library would you like to use.
    Which file formats interest you.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    68
    you need like OpenGL n stuff to do that kinda thing and even with OpenGL you can only really open bmps

    other file formats are possible but you need to code them in which means you need to study how the file format works n stuff

    its alot more complicated than you think.
    -Ti22-

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Basically you just need to use a grpahics library. OpenGL, SDL, and Allegro are all quite common and you'll be able to get help using them on the board (Game Programming forum). Google to find some information about them and decide which one suits you best, then go to their websites and learn how to use them!

  5. #5
    Registered User
    Join Date
    Jan 2005
    Posts
    6
    --kk, thx if any one wants to know any more im using bloodshed dev c++ any fileformat is fine aslong as it works, ill try one of those graphics libarys when u get the time. Thanks again every one.

    =--=L.W.J=--=

    Q.what do you get when you cross a vampire with a used car sales man..
    A.autoexec.bat!!

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. Replies: 1
    Last Post: 05-27-2009, 12:46 PM
  3. Simple Image Processing
    By ejohns85 in forum C++ Programming
    Replies: 4
    Last Post: 03-19-2009, 12:10 PM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. Replies: 4
    Last Post: 03-02-2003, 09:12 AM