converted png to raw then identify says unexpected EOF
Posted: 2018-04-20T20:52:31-07:00
Here is what I did
$ identify ~/Downloads/sd04/png_txt/figs_0/f0001_01.png
/home/lxuser/Downloads/sd04/png_txt/figs_0/f0001_01.png PNG 512x512 512x512+0+0 8-bit RGB 256c 212KB 0.000u 0:00.000
$ convert ~/Downloads/sd04/png_txt/figs_0/f0001_01.png f0001_01.rgb
$ identify f0001_01.rgb
identify: must specify image size `f0001_01.rgb' @ error/rgb.c/ReadRGBImage/144.
$ identify -size "512x512" f0001_01.rgb
f0001_01.rgb RGB 512x512 512x512+0+0 16-bit TrueColor sRGB 786KB 0.020u 0:00.020
identify: unexpected end-of-file `f0001_01.rgb': No such file or directory @ error/rgb.c/ReadRGBImage/237.
I am using
$ convert --version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
on 64 bit ubuntu OS .
$ identify ~/Downloads/sd04/png_txt/figs_0/f0001_01.png
/home/lxuser/Downloads/sd04/png_txt/figs_0/f0001_01.png PNG 512x512 512x512+0+0 8-bit RGB 256c 212KB 0.000u 0:00.000
$ convert ~/Downloads/sd04/png_txt/figs_0/f0001_01.png f0001_01.rgb
$ identify f0001_01.rgb
identify: must specify image size `f0001_01.rgb' @ error/rgb.c/ReadRGBImage/144.
$ identify -size "512x512" f0001_01.rgb
f0001_01.rgb RGB 512x512 512x512+0+0 16-bit TrueColor sRGB 786KB 0.020u 0:00.020
identify: unexpected end-of-file `f0001_01.rgb': No such file or directory @ error/rgb.c/ReadRGBImage/237.
I am using
$ convert --version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
on 64 bit ubuntu OS .