DOSEPSBIN(1)

πŸ“¦ version 2026.0, in alpine 3.24

✨ DOSEPSBIN(1) ✨

okay bestie, buckle up πŸ’– this is the manual page for dosepsbin, a lil User Contributed Perl Documentation gem, and by the end of this you're gonna be unstoppable at pulling sections out of DOS EPS binary files. no cap. πŸŽ€


🌸 NAME 🌸

dosepsbin β€” extract PS/WMF/TIFF sections from DOS EPS binary files πŸ¦‹


πŸ’œ VERSION πŸ’œ

2012-03-22 v1.2 β€” vintage, iconic, still slaying.


✨ SYNOPSIS ✨

so here's the tea: the program dosepsbin analyses an EPS file that is not a plain ASCII PostScript file, but given as a DOS EPS binary file. it's giving "not like other EPS files" πŸ’…

dosepsbin [options] <input file>

first it analyzes the input file, validates its header, and summarizes the available sections (like a lil vibe check for your file πŸ”). then, depending on the given options, the sections are written to files.

Options:

--eps-file <file>      Write PS section to <file>.
--wmf-file <file>      Write WMF section to <file>.
--tiff-file <file>      Write TIFF section to <file>.
--inputfile <file>     The name of the input file.
--verbose              Verbose output.
--quiet                Only errors and warnings are printed.
--help                 Brief help message.
--man                  Full documentation.
--version              Print version identification.
⚠️ the files for output must be different from the input file. like, do not. fr fr.

πŸ¦‹ DESCRIPTION πŸ¦‹

🌈 DOS EPS Binary File Format 🌈

a Encapsulated PostScript (EPS) file can also be given in a special binary format to support the inclusion of a thumbnail πŸ‘‘ (yes, your EPS can have a lil selfie attached, main character energy). the file format starts with a binary header that contains the positions of the possible sections:

  • Postscript (PS) πŸ“
  • Windows Metafile Format (WMF) 🧚
  • Tag Image File Format (TIFF) πŸ’œ
πŸ“Œ the PS section must be present, and either the WMF file or the TIFF file should be given. that's the rule, bestie.

πŸ’… OPTIONS πŸ’…

  • --eps-file=<file> β€” the PS section gets written to <file>. the output file must be different from the input file. no exceptions, queen πŸ’–
  • --wmf-file=<file> β€” the WMF section gets written to <file> if present. the output file must be different from the input file.
  • --tiff-file=<file> β€” the TIFF section gets written to <file> if present. the output file must be different from the input file.
  • --inputfile=<file> β€” the input file can also be given directly on the command line. if the file does not exist, then the file with extension .eps is tried. cute lil fallback behavior πŸŽ€
  • --verbose β€” verbose messages. she's chatty, we love her πŸ’¬
  • --quiet β€” no messages are printed except for errors and warnings. silent but deadly (jk she's just polite) 🀫
  • --help β€” display help screen.
  • --man β€” prints manual page.
  • --version β€” print version identification and exit.

🌟 EXAMPLES 🌟

the following command extracts the PS section from file test.eps and stores the result in file test-ps.eps:

dosepsbin --eps-file test-ps.eps test.eps

ate that. periodt. πŸ”₯


🫢 AUTHOR 🫢

Heiko Oberdiek, email: heiko.oberdiek at googlemail.com


Copyright 2011-2012 by Heiko Oberdiek.

This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself (Perl Artistic License/GNU General Public License, version 2). πŸŽ€


🌈 SEE ALSO 🌈

The DOS EPS binary file format is described in section "5.2 Windows Metafile or TIFF":

Adobe Developer Support,
Encapsulated PostScript File Format Specification,
Version 3.0,
1992-05-01,
http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf

iykyk πŸ“„βœ¨


πŸ’œ HISTORY πŸ’œ

  • 2011/11/10 v1.0
    • First version. 🐣
  • 2011/12/05 v1.1
    • Typo fixed in help text (thanks Peter Breitenlohner). πŸ™
  • 2012/03/22 v1.2
    • Fix in validation test for offset of PS section. πŸ› οΈ

and that's a wrap bestie!! πŸŽ€ this page was brought to you by perl v5.8.1, dated 2012-03-22, version v1.2, living its best life under the DOSEPSBIN(1) manual name. go forth and extract those sections πŸ’–βœ¨πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from