[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot save MPEG

Leonid Syrkin (lsyrkin@yahoo.com) writes:

> I am writing a very basic program for converting set of 32 PICT files
> into a MPEG file:
> FOR j=0, 31 DO BEGIN
> > 	READ_PICT,filnm,image
> 	Window, XSize=256, YSize=270
> 	tvscl, image
> 	MPEG_PUT, mpegID, IMAGE=image, FRAME=j
> What is wrong in my programm?

I'm guessing that what you meant to write was this:

	MPEG_PUT, mpegID, WINDOW=!D.Window, FRAME=j

Otherwise, why open a window? :-)


David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155