|
-
Feb 11th, 2001, 04:44 PM
#1
Thread Starter
Junior Member
I need to make a program that will show basically a slide show of JPEGS from files that will distributed separately. Each file would have a varying amount of pictures in it. But the point is it needs to be one file.
What I mean is, ther user will load this one file in the program and then he will be able to browse through the 30 or 50 or whatever number of pictures that are inside this file.
My question is, how would I go about stringing 30 jpeg files together into one file that I could then use in my program? How could the program look at this one file and then show the separate jpegs contained in it? And how could I add extra information to the file that the program would use (the number of pictures in the file, the artist of each photograph... like an ID3 tag)?
-
Feb 11th, 2001, 09:36 PM
#2
transcendental analytic
Having a UDT primary header for file amount and a secondary header for file offset and size and Tag data that is followed by the jpg's themself.
You need to open your file binary, use get and put statements to read and write your udt structures to your file, the secondary header being dynamic in amount has to be redimmed after getting it from the primary header.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|