A dual raster-scanning photoacoustic imager was designed, which integrated wide-field imaging and real-time imaging.