~ubuntu-branches/ubuntu/trusty/psychtoolbox-3/trusty-proposed

« back to all changes in this revision

Viewing changes to Psychtoolbox/PsychFiles/PsychSaveAsEps.m

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-11-19 23:34:50 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20131119233450-f7nf92vb8qavjmk8
Tags: 3.0.11.20131017.dfsg1-3
Upload to unsable since fresh glew has arrived to sid!

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
% Based on WindowToEps.c of the VideoToolbox.
4
4
% Copyright � 1996-2003 Denis G. Pelli
5
5
6
 
% NOTE: Most users will prefer to use Screen 'SaveAsEps' instead, which
7
 
% has the virtue of adding the PICT preview automatically. It's very
8
 
% similar to SaveAsEps.m, but accepts a window instead of a Matlab matrix.
9
 
% This help text, below, might still be of some use to users of the new
10
 
% Screen 'SaveAsEps'.
11
 
12
6
% SaveAsEps converts a grayscale image (in a Matlab matrix) to a
13
7
% PostScript file that a LaserWriter or Linotype will accurately render on
14
8
% paper. The output file is a standard Encapsulated PostScript File, with
274
268
        'showpage\n' ...
275
269
        '%%%%EOF\n']);
276
270
fclose(file);
277
 
if IsOS9
278
 
        FileType(filename,'EPSF','MSWD');
279
 
end