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!
>writing the program part i can do...but how do i get in to
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
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.
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.
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!
It's Allegro instead of Allego. You can find info on it by using a search machine. But anyway: