pwc
[Top] [All Lists]

[pwc] Re: Which image-grab program?

To:
Subject: [pwc] Re: Which image-grab program?
From: Joe Sullivan <>
Date: Thu, 9 Jun 2005 10:32:12 +0200
>I'm using PWC with a Logitech 4000. I need a utility to simply grab and save 
a 
>JPG from the camera - something that could be called from within a shell 
>script. What would people recommend.


I've had pretty good success with fswebcam.
 http://www.firestorm.cx/fswebcam/ 

Includes quite a few options, most interesting of which is including a PNG 
overlay/underlay image to the resulting saved pic (see the site for 
examples).

Quite a few options, here's the current list to give you an idea of what can 
be done:

Options:

 -?, --help                   Display this help page and exit.
 -q, --quiet                  Hides all messages except for errors.
 -v, --verbose                Displays extra messages while capturing
     --version                Displays the version and exits.
 -d, --device <name>          Sets the V4L device to use.
 -i, --input <number>         Selects the input to use.
 -t, --tuner <number>         Selects the tuner to use.
 -f, --frequency <number>     Selects the frequency use.
 -p, --palette <name>         Selects the palette format to use.
 -D, --delay <number>         Sets the pre-capture delay time. (ms)
 -r, --resolution <size>      Sets the capture resolution.
 -F, --frames <number>        Sets the number of frames to capture.
 -s, --skip <number>          Sets the number of frames to skip.
     --brightness <number>    Sets the image brightness. (-100 - 100)
     --hue <number>           Sets the image hue. (-100 - 100)
     --colour <number>        Sets the colour saturation. (-100 - 100)
     --contrast <number>      Sets the contrast. (-100 - 100)
     --whiteness <number>     Sets the whiteness. (-100 - 100)
     --flip <direction>       Flips the image. (h, v)
     --crop <size>[,<offset>] Crop a part of the image.
     --scale <size>           Scales the image.
     --rotate <angle>         Rotates the image in right angles.
     --deinterlace            Reduces interlace artifacts.
     --invert                 Inverts the images colours.
     --no-banner              Hides the banner.
     --top-banner             Puts the banner at the top.
     --bottom-banner          Puts the banner at the bottom. (Default)
     --banner-colour <colour> Sets the banner colour. (#AARRGGBB)
     --line-colour <colour>   Sets the banner line colour.
     --text-colour <colour>   Sets the text colour.
     --font <name[:size]>     Sets the font and size.
     --no-shadow              Disables the text shadow.
     --title <text>           Sets the main title. (top left)
     --subtitle <text>        Sets the sub-title. (bottom left)
     --timestamp <format>     Sets the timestamp format. (top right)
     --localtime              Uses localtime instead of GMT.
     --info <text>            Sets the info text. (bottom right)
     --underlay <PNG image>   Sets the underlay image.
     --overlay <PNG image>    Sets the overlay image.
     --jpeg <factor>          Outputs a JPEG image. (-1, 0 - 95)
     --png <factor>           Outputs a PNG image. (-1, 0 - 10)

_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU