loss-less compression and Memory
Hi
Two questions here:
PART 1
I need memory explained to me. Is it a location of all the bites or a streaming mechanism for temporary space on hard disc? If it is the former then help me understand this: I only have 56k memory and I've got 5 pics open in memory so why can't I copy this super small bmp object from memory to a super small file and read it back whenever I want using the same programming that manipulates the bits from this memory? Instead I get this bloated bmp of 1.5 mb's per pic. Please help me understand.
PART 2
I would like to find out how to compress bmps from my screen to a file. Here's what I've got.
1) Always using a scale of 600X800 pixels (640,000 total)
2) Pics made with roughly 2400 finite colors generated through program (requires full color settings though).
I figure 1,152,000,000 possible unique bites for each pic, right? for the most part my pics will never have more than 200 unique colors and thus it should be a wicked small file. Well I don't need to record the x,y's cause I can scroll through and set them I guess. How do I eliminate the duplicate consecutive bites and mark them in program so my x y loop will know to just assign the same color again? This would be a great start for what I want do do. Can anyone help?