Path: news.mathworks.com!not-for-mail
From: Steve Eddins <Steve.Eddins@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: reading gif
Date: Mon, 05 May 2008 09:41:33 -0400
Organization: The MathWorks, Inc.
Lines: 30
Message-ID: <fvn2qd$rpv$1@fred.mathworks.com>
References: <fvl2ih$khs$1@fred.mathworks.com>
NNTP-Posting-Host: eddinss-lt.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1209994893 28479 172.31.57.98 (5 May 2008 13:41:33 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 5 May 2008 13:41:33 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <fvl2ih$khs$1@fred.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:466686


Robert Johansson wrote:
> 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.

How do you know the matrix has too few rows and columns?

What does imfinfo say about the file?

> It seems that the 
> information about the file dimension is in another unit.

What do you mean by "another unit"?

> Can I control this? Looking through the helpfile I find 
> references to commands like "readimage" but no 
> documentation.

I don't see any mention of "readimage" in the M-file help or reference 
page for imread.

What do you get when you type this at prompt:

    which -all imread


---
Steve Eddins
http://blogs.mathworks.com/steve/