Skip to content

A Mac OS X command line utility that allows users to choose PNG, PDF, PSD, JPG, TIF, or GIF as the format for screenshots.

License

Notifications You must be signed in to change notification settings

code-warrior/screenshot-file-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot File Format for Mac OS X Build Status

v1.0.4

A Mac OS X command line utility that allows users to choose between PNG, PDF, PSD, JPG, TIF, or GIF as file formats for screenshots.

PNG

PNG screenshot

PSD

May only show in some Markdown readers/viewers.

PSD screenshot

PDF

May only show in some Markdown readers/viewers.

PDF screenshot

JPG

JPG screenshot

TIF

May only show in some Markdown readers/viewers.

TIF screenshot

GIF

GIF screenshot

Note: Box shadows around screenshots were removed with the utility screenshot-shadow.

Installation (Easiest)

  1. Download screenshot-file-format:

     curl -OL https://github.com/code-warrior/screenshot-file-format/raw/master/screenshot-file-format
    
  2. Change permissions:

     chmod 755 screenshot-file-format
    
  3. Move the binary into your local environment:

     sudo mv screenshot-file-format /usr/local/bin/
    
  4. Run the program:

     screenshot-file-format
    

Installation (Easy)

  1. Download and unzip screenshot-file-format-master.zip.

  2. Open The Terminal and navigate to the unzipped folder.

  3. Move the binary into your local environment:

     sudo mv screenshot-shadow /usr/local/bin
    
  4. Run screenshot-file-format from The Terminal:

     screenshot-file-format
    

Build

Use Make

    make

Use GCC

    gcc -Wall main.c -ansi -pedantic -o screenshot-file-format

Linting is carried out with Splint, using flags -unrecog to skip over warnings in order to invoke the process open (popen) and process close (pclose) functions, and -compdef as a temporary measure to skip over the potential for a memory problem.

    splint main.c +skip-sys-headers -unrecog -compdef

Verified On...

  • Mac OS X 10.11

About

A Mac OS X command line utility that allows users to choose PNG, PDF, PSD, JPG, TIF, or GIF as the format for screenshots.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published