[comp.windows.news] Background pictures in NeWS

elwell@tut.cis.ohio-state.edu (Clayton Elwell) (10/07/87)

Insert the following into your startup.ps file:

------------------------------

/backpic (moon.rf) readcanvas def % this reads in the appropriate rasterfile
/PaintRoot {
    gsave
    framebuffer setcanvas
    1152 900 scale		% assume normal Sun screen size--FRAGILE
    backpic imagecanvas
    grestore
} def

------------------------------

The prolem with doing just "imagecanvas" (without the scale) is that
it puts your image into one pixel...

Enjoy,

-- 
							      Clayton M. Elwell
       The Ohio State University Department of Computer and Information Science
       (614) 292-6546	 UUCP: ...!cbosgd!osu-cis!tut.cis.ohio-state.edu!elwell
		      ARPA: elwell@ohio-state.arpa (not working well right now)