pike.git / lib / modules / _Image_PS.pmod

version» Context lines:

pike.git/lib/modules/_Image_PS.pmod:42:   //! may be set to @expr{0@} (zero).   //! @endmapping   //!   //! @note   //! Some versions of @tt{gs@} on MacOS X have problems with   //! reading files on stdin. If this occurrs, try writing to   //! a plain file and specifying the @tt{file@} option.   //!   //! @note   //! @tt{gs@} versions 7.x and earlier don't support rendering - //! of EPSes if they are specified with the @{file@} option. + //! of EPSes if they are specified with the @tt{file@} option.   //! If this is a problem, upgrade to @tt{gs@} version 8.x or   //! later.   object decode( string data, mapping|void options )   {    if(!options) options = ([]);    if (data) {    if(has_prefix(data, "\xc5\xd0\xd3\xc6")) {    // DOS EPS Binary Header.    int ps_start, ps_len, meta_start, meta_len, tiff_start, tiff_len, sum;    sscanf(data, "%*4c%-4c%-4c%-4c%-4c%-4c%-4c%-2c",