"Harada Makoto" on  wrote...
| Hi,
| 
| Could someone please help me ?
| I'm now trying to convert RGB raw format to the UYUV format, but go the
| following error.
| 
| %convert -size 640x480 -depth 24 rgb:autumn-640x480.rgb -format UYVY -size
| 640x480 -depth 16 -sampling-factor 4:2:2 tmp.yuv
| convert: Unexpected end-of-file `autumn-640x480.bgr': No such file or
| directory.
| 
| The file definitely exists and also the file size is definitely correct.
| 
| I've also tried with the deferent RGB image, but it always fail whenever
| using the RGB file as input.
| 
| Is this a bug ?
| I'm using the following version of ImageMagick on the windows XP.
| 
| % convert --version
| Version: ImageMagick 6.3.0 11/05/06 Q16 http://www.imagemagick.org
| Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC
| 

Your -format will not do what you want to start with!
try   -colorspace YUV   instead.

As for the read error, I think your -depth is too big,  try -depth 8
for bits per color value.

  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
    Programming errors are like mermaids,
           just because you haven't seen one, doesn't mean it isn't there.
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to