Bug 203938 Space will be trimed in text when preview as PPT [1205]
engine/org.eclipse.birt.report.engine.emitter.ppt/src/org/eclipse/birt/report/engine/emitter/ppt/PPTWriter.java
Position areaSize = new Position( width, height );
		Position imagePosition = new Position( x + positionX, y + positionY );
		
		
		Position imageSize = new Position( imageWidth, imageHeight );
		BackgroundImageLayout layout = new BackgroundImageLayout( areaPosition,
				areaSize, imagePosition, imageSize );
		Collection positions = layout.getImagePositions( repeat );
		Iterator iterator = positions.iterator( );
		while ( iterator.hasNext( ) )
		{
			Position position = (Position) iterator.next( );
			exportImageDefn( imageName, imageTitle, imageWidth, imageHeight,
					position.getX( ), position.getY( ) );
		}
	}
	private byte[] getImageData( InputStream imageStream ) throws IOException
	{
		byte[] imageData;
		ByteArrayOutputStream byteArrayStream = new ByteArrayOutputStream();
		int data = -1;
		while( (data = imageStream.read( ) ) >=0)
		{
			byteArrayStream.write( data );
		}
		imageData = byteArrayStream.toByteArray( );
		return imageData;
	}
}