Re: Image manipulation through bash?
- From: Robert Heller <heller@xxxxxxxxxxxx>
- Date: Mon, 19 Mar 2007 21:54:56 +0100
At 19 Mar 2007 11:43:59 -0700 "sk8terg1rl" <sk8terg1rl_2006@xxxxxxxxxxx> wrote:
Hi group,
I've been working on building up an archive of pictures for me to test
the performance of an image recognition program on. At the moment I'm
going for quite modest goals of recognising a certain object in a
100x100 black and white bitmap file.
So let's say I've got a generic image, in whatever format. I want to:
(1) Resize it to exactly 100x100 pixels. Where rounding causes it to
be 99x100 or 101x100 pixels, it adds/deletes a blank line
respectively.
(2) Convert the file into monochrome bitmap format.
Can this be done in bash? The reason I'm asking is that it is very
tedious doing it one by one by clicking around a GUI image
manipulation programs.
Install the ImageMagicK package on your machine. Then you can:
man ImageMagicK
man convert
Convert will do what you want, totally from the command line.
Thanks everyone :-)
skate xx
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller@xxxxxxxxxxxx -- Contract Programming: C/C++, Tcl/Tk
.
- Prev by Date: Re: Photoshop and professional image processing
- Next by Date: Re: Pausing a background job
- Previous by thread: Re: Image manipulation through bash?
- Next by thread: external harddrive w/rsync (+ssh)?
- Index(es):
Relevant Pages
|