Command-line image converter program?

Command-line image converter program?

Post by j.. » Tue, 24 Nov 1998 04:00:00



>I need a command line program that would change image sizes. One that would,
>say, reduce an image's dimension to one inch.

>Does anyone know of such a program?

        try

        man convert

--
Unix had  startmenus and taskbars before Microsoft         |||
even had a decent memory manager for DOS.                 / | \

        In search of sane PPP docs? Try http://penguin.lvcm.com

 
 
 

Command-line image converter program?

Post by Jamie Hoglun » Wed, 25 Nov 1998 04:00:00


: I need a command line program that would change image sizes. One that would,
: say, reduce an image's dimension to one inch.

: Does anyone know of such a program?

Get the pbmplus utilities. (Might be called netpbm or netpnm) they're
really cool for that sort of thing. Also, have a look at the cjpeg &
djpeg programs.

It's a very nice way of handling image conversion & other things.

Jamie

--
 -------------------------------------------------------------------------

 http://www.lecart.com

 
 
 

Command-line image converter program?

Post by B. Anthony Cutteridg » Thu, 26 Nov 1998 04:00:00



> I need a command line program that would change image sizes. One that would,
> say, reduce an image's dimension to one inch.

> Does anyone know of such a program?

ImageMagic comes with both X and console tools, one of which is called
convert.  It will covert to and from almost all known graphics formats
as well as do resizing and other transformations.

ImageMagic can be obtained from SunSITE:

ftp://sunsite.unc.edu/pub/Linux/apps/graphics/viewers/X/ImageMagick-4...
        ftp:/sunsite.unc.edu/pub/Linux/libs/graphics/libIMPlugIn-1.3-elf.tgz
(required to run it)

Alternatively, you can obtain it directly from the home site at:

        ftp://ftp.wizards.dupont.com/pub/ImageMagick/linux

I hope this helps. :)

Signed:
B. Anthony Cutteridge.

 
 
 

1. Adding header lines using command line mail program



:Hi.
:
:I'm interested in running a mail sending program (such as mail,
:fastmail, elm) on the command line, passing the  body of the message
:through stdin, but ensuring that the header of the message contains a
:few particular lines - namely "Mime-Version: 1.0", "Content-Type:
:application/octet-stream; name=thefile.gif", and
:"Content-Transfer-Encoding: Base64".

The idea is to point the program to an alternate sendmail program
which is a simple script that does:

#!/bin/sh
cat /path/to/your/headers - | /usr/sbin/sendmail $*

And have /path/to/your/headers contain the headers you want.

With Berkeley mail, you'd "set sendmail=/path/to/above/script" in
the .mailrc.

With elm, you could use ~/.elm/elmheaders, swapping in your own
when you need to use an instance of elm for your application.

--

 InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481

2. Needed Help Setting Up My PacBell ADSL In SuSe 7.1

3. Command-line editing within C program

4. Helpfiul Samba hints

5. Command line bmp converter

6. Help: Kimtron KT-7/PC terminal setup

7. command-line program to monitor CPU temperature?

8. strange problem with more (!)

9. any command-line program for...?

10. Image crop from command line?

11. command line imaging software

12. How to re-size images using xv on command line?

13. Displaying images line-by-line