Medical image processing is important in hospital solutions and DICOM applications. Although there are many open source libraries for DICOM today, there are still no a dominant one adopted by most applications. This paper introduced a new framework that is easy to use and yet powerful in many aspects. It proposed to combine the Imebra Library with the famous CImg Library to do medical image processing. After a brief introduction to the functions of both Libraries, this paper had presented how to design a pipeline to make the two libraries work together. A demonstrating system was presented at the last of the paper to show the works of the pipeline. It was believed that the cooperation of the two libraries provided an excellent solution to medical image processing and will succeed in the future.