Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Image Parser and Loader

Author
Message
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 8th Jun 2004 10:32
Usually post most of my snippets on the CurvedBasic website, but I thought this one was worthy of being posted here. Basically the Imager Parser gets the color of each pixel on the screen and then saves it to an array. The Loader then takes that data and displays it on screen.



This really isn't the fastest way to display images (compared to load image), but I had fun creating it and would like to share it with you. Besides, you can now send secret messages through images now and no one but you and your friends will be able to see them.



The Image Parser


Loader


A book? I hate book. Book is stupid.
(Formerly known as Yellow)
Atreides
21
Years of Service
User Offline
Joined: 11th Oct 2003
Location: Switzerland (but NOT on a mountain !)
Posted: 8th Jun 2004 21:00
you could lock and unlock the pixels to draw faster :p



The sleeper must awaken !
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 8th Jun 2004 22:59 Edited at: 8th Jun 2004 22:59
Yup. Just realized that.

Also, feel free to change the 800's and 600's to whatever resolution you like.



[edit] Also set sync to 0.

A book? I hate book. Book is stupid.
(Formerly known as Yellow)

Login to post a reply

Server time is: 2024-11-23 21:22:53
Your offset time is: 2024-11-23 21:22:53