Path: news.mathworks.com!not-for-mail
From: "Sadik " <sadik.hava@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Jpeg Compression Tool
Date: Fri, 22 May 2009 18:40:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 16
Message-ID: <gv6ri2$36e$1@fred.mathworks.com>
References: <gv6qk1$1ie$1@fred.mathworks.com>
Reply-To: "Sadik " <sadik.hava@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1243017603 3278 172.30.248.37 (22 May 2009 18:40:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 22 May 2009 18:40:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1666517
Xref: news.mathworks.com comp.soft-sys.matlab:541874


Does the following work?

saveas(gcf,'MyImage.jpg')

Or, there is a matlab code here, if it is what you are looking for:

http://www.teresi.us/resources/code/matlab/jpeg.m


<gv6qk1$1ie$1@fred.mathworks.com>...
> Hi, 
> 
> Is there a way to save a compressed jpeg image?
> 
> regards,
> A