aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1496

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1496  saving the screen to a file?

09/12/2006 @ 22:41
by Dave O\'Brien

Anonymous



Is there a way to save a screen (whole or part) to a file?

(As far as I can tell, the existing SAVESCREEN command is meant only for use with the RESTORESCREEN command.)

Any tips appreciated. Thanks.
  Post an answer  Top

[]   


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
10/12/2006 @ 00:23
by aldweb

Anonymous

visitor
Hello Dave,

Yes there is a way (anyway, there is always a way ).

The PGET(X,Y) function will let you retrieve the pixel color at the (X,Y) position.
Just, save the returned values by PGET for a range of (X,Y), (1,1) to (160,160) for retrieving the whole screen.
Then, to draw back the whole or part of the screen will just be a question of reading the file and applying the PSET statement.

Then, the point is to know how you want to save this information in a file.
Indeed, the way of doing I provided above will build a heavy file. You might want to use some image routines to save the information, and there we get to the point of finding algorithms for saving & reading JPEG, GIF, PNG types of images...
You could also save a bitmap resource, then using the Resource PP applet.
There are indeed many possibilities

Cheers,
aldweb


@+
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
19/12/2006 @ 08:11
by Khertan

Anonymous

visitor
Maybe doing this with an applet will be more efficiently.
Write to Khertan   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
22/12/2006 @ 11:08
by aldweb

Anonymous

visitor
Hello Khertan,

Sure, you are right. But if performance is OK, why bother switching to PP? And I know that Dave rather goes for 100% native iziBasic code...

Cheers,
aldweb


@+
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4
--------
23/12/2006 @ 03:33
by Dave O\'Brien

Anonymous

visitor
Actually, what prompted my question was a request from a Kaleida user to be able to save her doodles to a picture file that she could use as wallpaper.

I imagine that would be in some standard format like JPEG, GIF, PNG, etc. And that's deeper voodoo that I'd want to tackle on my own. ;^)
  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 5
--------
24/12/2006 @ 06:52
by Lou

Anonymous

visitor
Hi Dave,

I'd recommend to your user she check out Snap, which snaps a screen shot in bmp format onto a card.

BTW, I downloaded the newer version of Kaleida. Looks like you widened the heavy line. For what it's worth, I like the original. Either way, cool little app.

Lou
Write to Lou   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^