[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How Can I Save Image In JPG Format ???
From: |
Thomas Weber |
Subject: |
Re: How Can I Save Image In JPG Format ??? |
Date: |
Fri, 18 Jan 2008 21:49:21 +0100 |
Am Freitag, den 18.01.2008, 19:21 +0100 schrieb Søren Hauberg:
> fre, 18 01 2008 kl. 09:39 -0800, skrev james35:
> > Hi,
> > I have linux ubuntu 7.04 and I use Imagemagick (version 7:6.2.4.5) to see
> > images that I create with Octave. The problem is that I need to save these
> > images not in the Octave's format (.img, right ?), but in JPG format.
> > Imagemagick has a menù which it is possible to choose the option "save"
> > using the mouse, but I want to save the image in JPG format from the console
> > of octave, directly, using a command. Exist a command or a function that
> > allows me to make this?
>
> You want the 'imwrite' function from the 'image' package. You can
> download this package from http://octave.sf.net.
I'd say
print("/tmp/image.jpeg")
should do it.
Thomas