Menu

Tree [f63c2a] master grabpng-20160630 /
 History

HTTPS access


File Date Author Commit
 CExEv 2010-09-10 Jan Engelhardt Jan Engelhardt [8efd00] CExEv: resolve g++-4.4 warnings
 dev-cpp 2009-05-21 Jan Engelhardt Jan Engelhardt [c97a77] repo: remove binary files
 filechars 2008-11-18 bagheadspidey bagheadspidey [df43d1] forgot to add some stuff
 include 2008-12-21 bagheadspidey bagheadspidey [ab285a] Fixed support for large pngs
 ui 2010-03-12 bagheadspidey bagheadspidey [fa1aa3]
 .gitignore 2008-11-18 Jan Engelhardt Jan Engelhardt [af10cf] src: add autotools files
 COPYING 2016-06-30 Jan Engelhardt Jan Engelhardt [c855ee] Add license file
 CREDITS 2016-06-30 Jan Engelhardt Jan Engelhardt [f63c2a] Add CREDITS file
 Makefile.am 2009-05-21 Jan Engelhardt Jan Engelhardt [faa914] grabpng: make FLTK optional for compilation
 autogen.sh 2008-11-18 Jan Engelhardt Jan Engelhardt [af10cf] src: add autotools files
 build.sh 2008-12-21 bagheadspidey bagheadspidey [ab285a] Fixed support for large pngs
 cexev.h 2008-12-07 bagheadspidey bagheadspidey [6ccc09] - added loading an image from command line
 configure.ac 2009-05-21 Jan Engelhardt Jan Engelhardt [faa914] grabpng: make FLTK optional for compilation
 grabpng.cpp 2016-06-30 Jan Engelhardt Jan Engelhardt [0e2e63] build: resolve narrowing conversion warnings
 grabpng.h 2016-06-30 Jan Engelhardt Jan Engelhardt [67fd2a] build: resolve narrowing conversion errors
 logo.txt 2008-11-18 bagheadspidey bagheadspidey [915b2e] new logo ;p
 main.cpp 2009-05-21 Jan Engelhardt Jan Engelhardt [faa914] grabpng: make FLTK optional for compilation
 readme.txt 2010-03-12 bagheadspidey bagheadspidey [bfdbd7]
 util.h 2008-12-21 bagheadspidey bagheadspidey [e0a8b2] fix crash when attempting to load non-existant ...

Read Me

  Usage: grabpng [[options] <file1> [file2] [...]]

  Installation:
  
    Put grabpng anywhere you like. Make a shortcut to it on your
    desktop or in your programs menu. If you want to use grabpng
    in batch mode, you'll want to add its location to your PATH
    environment variable.
  
    If you are not sure what your PATH environment variable is, 
    but you still want to use grabpng in batch mode, just put it
    in C:\Windows\System32.
    
  Overview:
  
    If you installed grabpng correctly you can click the icon or
    type "grabpng" at the command line to use the visual editor.
    
    If you are using grabpng from the command line you have
    powerful batch options available to you:

  Options:

    -grab <x> <y>     Set contents of grAb chunk in files.
    -alph             Create alPh chunk in files.
    -noalph           Remove alPh chunk from files.

  Notes:

    The <x> and <y> -grab values can be expressions.
    
    Variables allowed in expressions are:
      w - image width
      h - image height
    
    Constants allowed in expressions are:
      W - 320
      H - 200
      
  Keyboard Shortcuts:

    Ctrl-S    Save current image
    Z         Load previous image in directory
    X         Load next image in directory
    L         Lock guides
    Tab       Select next control
    Arrows    Select controls
    Space     Activate selected control
    Esc       Quit program

  Examples:

    # Load the visual editor.
    
    grabpng

    # Load mymonster.png in the visual editor.
    
    grabpng mymonster.png

    # Grab two pngs at their centers and set alPh chunks.
    
    grabpng -grab w/2 h/2 -alph mydecal.png mydecal2.png

    # Grab all pngs in the current directory at their horizontal 
    # center, 4 pixels from the bottom of the image.
    
    grabpng -grab w/2 h-4 *.png