Post any defects you find in the released or beta versions of the ImageMagick software here.    Include the ImageMagick version, OS, and any command-line required to reproduce the problem.  Got a patch for a bug?  Post it here.
			
		
		
			
				
																			
								Juce 							 
									
		Posts:  12 Joined:  2011-03-22T07:06:04-07:00Authentication code:  8675308Location:  Finland 
		
						
					
													
							
						
									
						Post 
					 
								by Juce  2011-11-14T08:33:20-07:00 
			
			
			
			
			
			It seems that the stream does not properly handle situations where it can not write to a file.
Code: Select all 
stream -map rgb -storage-type char *.sgi - | x264 - -o testi.mkv --demuxer raw --input-csp rgb --input-res 1280x720 --fps 50 --quiet --frames 10
raw [info]: 1280x720p 0:0 @ 50/1 fps (cfr)
resize [warning]: converting from rgb24 to yuv420p
[swscaler @ 003e4840] full chroma interpolation for destination format 'yuv420p' not yet implemented
encoded 10 frames, 2.96 fps, 3971.32 kb/s
stream.exe: Improper image header `05149.sgi' @ error/sgi.c/ReadSGIImage/327.
stream.exe: Improper image header `05618.sgi' @ error/sgi.c/ReadSGIImage/327.
Files: 
ftp://vqeg.its.bldrdoc.gov/HDTV/SVT_Mul ... R_SVTdec05 _/
stream -version
Version: ImageMagick 6.7.3-6 2011-11-10 Q16 
http://www.imagemagick.org 
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP
Windows XP 32-bit, x264 r2106 (
x264.nl )
 
		 
				
		
		 
	 
				
		
		
			
				
								anthony 							 
									
		Posts:  8883 Joined:  2004-05-31T19:27:03-07:00Authentication code:  8675308Location:  Brisbane, Australia 
		
						
					
													
							
						
									
						Post 
					 
								by anthony  2011-11-15T18:45:25-07:00 
			
			
			
			
			
			stream outputs raw RGB data.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Juce 							 
									
		Posts:  12 Joined:  2011-03-22T07:06:04-07:00Authentication code:  8675308Location:  Finland 
		
						
					
													
							
						
									
						Post 
					 
								by Juce  2011-11-16T12:57:28-07:00 
			
			
			
			
			
			Sorry. I tested above commands again and corruption does not happened. Maybe this bug is difficult to repeat.
This is a easier repeatable example:
Code: Select all 
stream -map rgb -storage-type short images\logo.png - | echo abc
abc
stream.exe: IDAT: CRC error `images\logo.png' @ error/png.c/MagickPNGErrorHandler/1728.
stream.exe: Corrupt image `images\logo.png' @ error/png.c/ReadPNGImage/3695.
stream.exe: missing an image filename `images\logo.png' @ error/stream.c/StreamImageCommand/767.anthony wrote: stream outputs raw RGB data.
This is exactly what I want.
 
		 
				
		
		 
	 
				
		
		
			
				
								anthony 							 
									
		Posts:  8883 Joined:  2004-05-31T19:27:03-07:00Authentication code:  8675308Location:  Brisbane, Australia 
		
						
					
													
							
						
									
						Post 
					 
								by anthony  2011-11-16T21:39:15-07:00 
			
			
			
			
			
			Code: Select all 
convert rose: rose.png
stream -map rgb -storage-type short rose.png - >/dev/null
No errors no problems!  Perhaps your PNG file is actually corrupted?
 
		 
				
		
		 
	 
				
				
		
		
			
				
								anthony 							 
									
		Posts:  8883 Joined:  2004-05-31T19:27:03-07:00Authentication code:  8675308Location:  Brisbane, Australia 
		
						
					
													
							
						
									
						Post 
					 
								by anthony  2011-11-18T00:06:56-07:00 
			
			
			
			
			
			can you give us a link to the PNG image you are using?
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Juce 							 
									
		Posts:  12 Joined:  2011-03-22T07:06:04-07:00Authentication code:  8675308Location:  Finland 
		
						
					
													
							
						
									
						Post 
					 
								by Juce  2011-11-18T07:26:44-07:00 
			
			
			
			
			
			
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
								anthony 							 
									
		Posts:  8883 Joined:  2004-05-31T19:27:03-07:00Authentication code:  8675308Location:  Brisbane, Australia 
		
						
					
													
							
						
									
						Post 
					 
								by anthony  2011-11-28T19:01:36-07:00 
			
			
			
			
			
			Note that imageshack has an annoying tendancy to modify the images it serves!
I recommend you use a file service that exports the file AS IS.  such as dropbox.
However.. this display the image output from stream fine...
Code: Select all 
  stream -map rgb -storage-type short logopx.png - | convert -depth 16 -size 2135x2048 rgb:- show:
The black areas are normally hidden by transparency which stream is ignoring.
 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Juce 							 
									
		Posts:  12 Joined:  2011-03-22T07:06:04-07:00Authentication code:  8675308Location:  Finland 
		
						
					
													
							
						
									
						Post 
					 
								by Juce  2011-12-02T06:51:43-07:00 
			
			
			
			
			
			Have you tried these in Windows with 32-bit binaries?
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
								anthony 							 
									
		Posts:  8883 Joined:  2004-05-31T19:27:03-07:00Authentication code:  8675308Location:  Brisbane, Australia 
		
						
					
													
							
						
									
						Post 
					 
								by anthony  2011-12-04T21:50:45-07:00 
			
			
			
			
			
			Sorry no.  I am not a windows user.  I can barely find the control panel in windows!