From owner-freebsd-questions@FreeBSD.ORG Fri Jan 29 17:51:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65A17106566B for ; Fri, 29 Jan 2010 17:51:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2615F8FC1A for ; Fri, 29 Jan 2010 17:51:08 +0000 (UTC) Received: from r55.edvax.de (port-92-195-104-232.dynamic.qsc.de [92.195.104.232]) by mx02.qsc.de (Postfix) with ESMTP id 73FCF1E37D; Fri, 29 Jan 2010 18:51:07 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o0THp6xI003701; Fri, 29 Jan 2010 18:51:06 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 29 Jan 2010 18:51:06 +0100 From: Polytropon To: Steven Friedrich Message-Id: <20100129185106.a8256a5e.freebsd@edvax.de> In-Reply-To: <201001291241.06909.freebsd@insightbb.com> References: <201001291241.06909.freebsd@insightbb.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How do I create a 40x40 pixel monochrome mage for KMail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2010 17:51:09 -0000 On Fri, 29 Jan 2010 12:41:06 -0500, Steven Friedrich wrote: > I have a webcam, but it won't take a monochrome picture and it doesn't > snapshot all the resolutions that it can display in. In particular, I tried > the two lowest and the lowest, sqcif, isn't supported by my webcam and qsif > seg faults. Those would have been 128x96 and 160x120. > > I figured that if I used the lowest resolution, I could crop out a 40x40 > image. You can use ImageMagick's convert command to scale the image, and turn it into monochrome; see "man convert" for -resize and -monochrome parameters. It's even possible to use Gimp for this task. :-) > Kopete also supports a 200x200 pixel image, but I think it requires exactly > 200x200, so 128x96 won't work. You can use "!" with -resize to force a specific image size, even if it violates the source picture's aspect ratio (which -resize usually keeps). > I thought that someone said they used kamera to take a snapshot with their > webcam but Logitech webcams aren't listed. Maybe you can use gtkam / gphoto2 to talk to the Logitech camera? I don't own one because I'm familiar with the fact that they are not standard-compatible and that's why not supported. > I can take one with pwcview, which is what I was talking about above. You can even use a "regular" digital camera to take the photo, transfer it from the camera (or its CF or SD storage) and then postprocess it with ImageMagick. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...