Files on HP Prime Question
|
05-21-2015, 06:38 PM
Post: #21
|
|||
|
|||
RE: Files on HP Prime Question
(05-20-2015 10:10 PM)critor Wrote: … How about generating png files on demand from the archive file? Here's what I tried… 1. Make a couple png files, from screen captures. (I entered a bunch of trivial calculations between captures to make it obvious [to me] which png was which.) Code:
2. Store the sizes of the two files in J and T. Code:
3. Combine the two png files into a single combo png file. Code:
4. Pull out the two files. Code:
5. Try displaying the two files. Code:
The above worked for my screen captures. For larger png files it may well be prudent to read / write in fixed size blocks (rather than the whole png at once). The above is just a quick test. A viewer would likely simply do #4 / #5 on demand (produce, e.g., "todisplay.png" from "big.combopng" with offsets & size depending on the png to display). For larger text-heavy documents (or, more generally, documents where cross-page compression can pay off) a more sophisticated format should allow better use of the available memory. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)