PostScript itself is a programming language. Although there are operators to express text, vector graphics, and raster images, most PostScript streams provide procedures with these functions embedded and as such, you cannot actually determine such data by simply scanning the PostScript file. You need to fully interpret the PostScript file or add procedures to such a PostScript file to isolate such text and graphics data when the PostScript program is run.
- Dov
- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)