Saving current display...

 hi all:

i need some insight in to the constructors for saving a current display as a
JPEG file .i am wondering if i can pass the display to the Filesaver
like

FileSaver save =new FileSaver(display);

i will appreciate any help

thanks....

Isaac