Thread: new idea....need help!

  1. #1
    lonelyplanetwanderer
    Guest

    new idea....need help!

    hey there...this is my first attempt at this kinda project...just came to my head...i need to project abt a 100 jpeg images over a period of time on a projector...they need to be in a random order and they need to appear one after the other very very quickly..

    so the first time i kick off the program it selects say any 50 out of 100 images and projects them on the screen one after the other in a loop, say till i press stop...

    second time it does the same thing but with a diff set of images...and so on...

    writing the program part i can do...but how do i get in to run...would it treat individual images in a specified folder as seperate files?...so can i use fopen to display?...how do i ensure it comes on the screen (full screen)?...any guidance on the logistics would be appreciated....cheers!

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    >writing the program part i can do...but how do i get in to
    >run...

    I don't know which environment you are using. But I could imagine you should do something like: compile and link and then type the programs name. Then it should run.

    >would it treat individual images in a specified folder as seperate
    >files?

    Depends on your own ideas. You can do it whatever you want. Since it are JPEGs, they are seperate files.

    >so can i use fopen to display?

    No, fopen can't be used to display a JPEG file. It can only be used to open a file. Then you need to decode the JPEG file and display the picture.

  3. #3
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    you could convert all the images to bmps and use allegro to display them.

    That's what I would do if I didn't have much time.

  4. #4
    Registered User compjinx's Avatar
    Join Date
    Aug 2001
    Posts
    214

    Hmmm...

    "allego is the way"
    "The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
    Eric Porterfield.

  5. #5
    lonelyplanetwanderer
    Guest

    allego!?!

    somebody mentioned fopen is out of question...so allego is the way to go...could any1 tell me where i could read up on allego with regards to projecting images on a screen...i am pretty new to this stuff and haven't quite come across that term...

    would this solve the problem of picking up images from a specified folder and then displaying them full screen?...any help would be greatly appreciated...cheers!

  6. #6
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    It's Allegro instead of Allego. You can find info on it by using a search machine. But anyway:

    http://www.talula.demon.co.uk/allegro/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. project idea ???
    By gemini_shooter in forum C Programming
    Replies: 2
    Last Post: 06-09-2005, 09:56 AM
  2. Have an idea?
    By B0bDole in forum Projects and Job Recruitment
    Replies: 46
    Last Post: 01-13-2005, 03:25 PM
  3. A little problem about an idea, help please
    By louis_mine in forum C++ Programming
    Replies: 3
    Last Post: 09-10-2004, 09:52 PM
  4. totally screwed up idea
    By iain in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 08-17-2001, 12:09 PM