We present a simple 2D image acquisition technique electronically implemented for laser scanning confocal microscope using galvanometer scanners. In order to synchronize image acquisition process with the movement of the galvanometer scanner, position signal of the mirror of the galvanometer scanner is used and manipulated for generating of sync-signals. This is achieved using an analog-digital converter to read a position signal from the scanner which tells about its position and to generate a trigger signal (or pixel clock) which tells the moment of digitizing the received analog signal from the photo-detector. This facilitates processing the image in synchronization with the actual motion of the scanning laser beam scanner. Image construction is performed by a video acquisition board (frame grabber). The newly developed scanning and image acquisition systems are implemented in a confocal microscope with fiber-optic components for compact configuration and flexible light path.