Hi,

I use 'webcam' for mine, and in the config file (as you can see below) the 
width and height of the target image can be specified.  However, that's not 
what you asked for.

convert -resize widthxheight should do it, but you could also set the jpeg 
quality lower to make a smaller file.

My webcam shows 320x240, and images are typically 20Kb in size.

http://homepages.paradise.net.nz/blighty/webcam/

There's also a lot of examples and help on 'convert' at

http://www.imagemagick.org/

HTH

Andy

--
(Part of .webcamrc shown below)
[grab]
device = /dev/video0
text = %Y-%m-%d %H:%M:%S %Z
#infofile = filename
width = 320
height = 240
delay = 3
input = composite0
norm = ntsc
rotate = 0
top = 0
left = 0
bottom = -1
right = -1
quality = 75
trigger = 0
once = 1
archive = webcam_archive/webcam%Y%m%d%H%M%S

On Sat, 25 Sep 2004 17:32, Steve Holdoway wrote:
> Hi folks. I'm playing around with my new camera, which points out
> towards Godley Head. The raw image I'm downloading is 705x584 or so, but
> has a black top border, and the right hand side of the image is blurred.
> I'd like to crop it and, if possible, improve the image quality as much
> as poss. I'm using convert to do this, but am a mere beginner when it
> comes to this. For example, I wanted to use png format to publish (
> http://www.greengecko.co.nz/weather is where I'm playing ), but the
> result came out huge - over twice the size of the original jpeg, even
> when resized down to 500x400.
>
> Any suggestions as how to properly use convert ( or any similar batch
> tool ), I'd be grateful.
>
> Cheers,
>
> Steve.
>
> PS. Orginal camera for sale ( Level one fcs-1000 -
> http://www.level1.com/products3.php?sklop=18&id=571000  ) 320x240
> images/video, but pretty poor at handling outside light levels. Less
> than a month old. Offers?

Reply via email to