It was just a typo.

I have both 3.2.3 and 3.2.4 installed so I am running the same test code
from both versions. I will try with a different file type to see if that is
the issue.

The driver here was not that I wanted to upgrade my version of Octave, it
was changing the version of GraphicsMagick. There is a bug in imwrite where
a tiff file read in with imread is modified slightly when it is written out
by imwrite.

Take Care

-----Original Message-----
From: Søren Hauberg [mailto:[email protected]] 
Sent: Thursday, April 08, 2010 1:57 AM
To: Ian Journeaux
Cc: [email protected]
Subject: Reading tiff's [was: Re: [OctDev] Latest Binaries]

ons, 07 04 2010 kl. 08:26 -0500, skrev Ian Journeaux:
> I have a simple m file I had created to help debug a problem with imwrite.
> This ran fine with 3.2.3 but with 3.2.4 it complains that the file
> "pickoutcentralin.tif" can not be found
> 
> cd C:/Rotationtests;
> I = imread('Pickoutcentralin.tif');
> imwrite(I,'Pickoutcentralout.tif');

Just to be sure: 'Pickoutcentralin.tif' does actually exist in the
current directory, right? Also, you talk about
"pickoutcentralin.tif" (lowercase "p"), but use
'Pickoutcentralin.tif' (uppercase "P") in your code. Is that just a
typo?

Can you read images of different formats (e.g. PNG)? I think the bundled
version of GraphicsMagick was downgraded in the latest binary because of
a localisation bug in recent versions of GraphicsMagick, so this might
have broken TIFF reading.

Søren


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to