Path: news.mathworks.com!not-for-mail
From: "Sergey Karpov" <sergey.karpov@qimonda.com>
Newsgroups: comp.soft-sys.matlab
Subject: reading gif
Date: Mon, 5 May 2008 14:13:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 23
Message-ID: <fvn4lg$ref$1@fred.mathworks.com>
References: <fvl2ih$khs$1@fred.mathworks.com>
Reply-To: "Sergey Karpov" <sergey.karpov@qimonda.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1209996784 28111 172.30.248.38 (5 May 2008 14:13:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 5 May 2008 14:13:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1376388
Xref: news.mathworks.com comp.soft-sys.matlab:466698


"Robert Johansson" <robert.nospam@math.umu.se> wrote in
message <fvl2ih$khs$1@fred.mathworks.com>...
> I have a picture in GIF-format which I need to process and 
> convert to eps. Using "imread", MATLAB reads the file into 
> a matrix with too few rows and columns. It seems that the 
> information about the file dimension is in another unit. 
> Can I control this? Looking through the helpfile I find 
> references to commands like "readimage" but no 
> documentation.  

Hi, 

better to use importdata, cause gif will be saved like a
structure, here is a small example:

your_gif = importdata('your-gif.gif');

image(your_gif.cdata);
colormap(your_gif.colormap);

for converting it, u can use a figure menu,

Bye