In related work, most algorithms generate high dynamic range image by fusing several differently exposed images. In this paper, we propose an image fusion pipeline that generates a high dynamic range image by fusing long- and short-exposure raw images. Some algorithms generating high dynamic range image with two exposure images may incur artifacts. Our method uses the property of raw image to overcome the artifact. By performing several quality measures such as brightness, contrast, and saturation, we estimate a weighting map, and then fuse the two raw images by multi-resolution blending technique to generate seamless high dynamic range image. We also combine the image alignment and ghost removal algorithm to deal with vibration problem and moving objects and make the fusion result clearer and better.