Hi all,
My latest version of IM (6.7.9-5) can no longer read Sun rasterfiles I am creating. Previous versions of IM (at least up to and including whatever IM was distributed with CentOS 5.7) had no trouble with these files, and I can still display them with eog (CentOS 6.3). I can also display them on my Mac ('open' loads them into the OpenOffice draw program). Here's some output on my CentOS 6 system:
% file *ras
4075x4792x8bit.ras: Sun raster image data, 4075 x 4792, 8-bit, compressed, RGB colormap
% display 4075x4792x8bit.ras
display: improper image header `4075x4792x8bit.ras' @ error/sun.c/ReadSUNImage/403.
% eog 4075x4792x8bit.ras ### this works fine!
I have left a copy of the file at ftp://ftp.soest.hawaii.edu/rbd/4075x4792x8bit.ras for anyone who wants to take a look.
I need IM to convert these files to JPEG, which it used to do, but no longer does:
% convert 4075x4792x8bit.ras xx.jpg
convert: improper image header `4075x4792x8bit.ras' @ error/sun.c/ReadSUNImage/403.
If anyone can tell me how to get this to work (or suggest another way to do the conversion under CentOS via a command-line tool without displaying it) that would be much appreciated. Thanks!
Roger Davis
~
can't read Sun raster file (8-bit compressed RGB)
Re: can't read Sun raster file (8-bit compressed RGB)
Looks like a bug. We'll have a patch for it by sometime tomorrow in ImageMagick-6.7.9-7 Beta. Thanks.
Re: can't read Sun raster file (8-bit compressed RGB)
Sorry for my ignorance, but where can I download the 6.7.9-7 beta from? I don't see it on the ImageMagick download site I'm looking at (although maybe it just hasn't been put there yet).
Thanks!
Roger
Thanks!
Roger
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: can't read Sun raster file (8-bit compressed RGB)
see http://www.imagemagick.org/download/ in the beta folder or go direct to
http://www.imagemagick.org/download/beta/
http://www.imagemagick.org/download/beta/
Re: can't read Sun raster file (8-bit compressed RGB)
Aargh, sorry, I'm an idiot!
Roger
Roger
Re: can't read Sun raster file (8-bit compressed RGB)
Hi magick,
I just downloaded the ImageMagick-6.7.9-7.tar.gz from http://www.imagemagick.org/download/beta but the problem is not yet fixed:
% display --version
Version: ImageMagick 6.7.9-7 2012-09-21 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
% display 4075x4792x8bit.ras
display: improper image header `4075x4792x8bit.ras' @ error/sun.c/ReadSUNImage/403.
Was I too soon, has the bugfix not yet been applied?
Thanks,
Roger
I just downloaded the ImageMagick-6.7.9-7.tar.gz from http://www.imagemagick.org/download/beta but the problem is not yet fixed:
% display --version
Version: ImageMagick 6.7.9-7 2012-09-21 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
% display 4075x4792x8bit.ras
display: improper image header `4075x4792x8bit.ras' @ error/sun.c/ReadSUNImage/403.
Was I too soon, has the bugfix not yet been applied?
Thanks,
Roger
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: can't read Sun raster file (8-bit compressed RGB)
Sometimes it takes a day to pass from the development site to the public site. If you are in a hurry and want to get the very latest, go to http://magick.imagemagick.org/download/beta/ rather than http://www.imagemagick.org/download/beta/
But you may get a version of the beta that is in progress and may error upon compile.
But you may get a version of the beta that is in progress and may error upon compile.
Re: can't read Sun raster file (8-bit compressed RGB)
Thanks, Fred!
Roger
Roger
Re: can't read Sun raster file (8-bit compressed RGB)
Hi magick,
The bug appears to be fixed in the beta, thank you very much!
Roger
The bug appears to be fixed in the beta, thank you very much!
Roger