------- psout.c ------- --- /tmp/geta23681 Sat May 22 13:26:49 2004 +++ /tmp/getb23681 Sat May 22 13:26:49 2004 @@ -1495,15 +1495,18 @@ self->ImageFormat = 0; self->RevImage = 0; return; } + /* + * Bug 4639307: Move flush before "> im" to get all of bitmap into ps file. + */ + S_Flush(self); #ifdef BM_CACHE if(self->start_image) S_OutTok(self, "> im", 1); /* new */ #endif self->ImageFormat = 0; self->RevImage = 0; - S_Flush(self); #ifdef BM_CACHE if(self->start_image) { self->start_image = 0;