Canon has released a service notice for the G10 compact. Some cameras have been creating lines in the pictures. Fortunately it is not everyone that has troubles with their camera. The problem is with a certain batch of cameras and they can be identified by their serial number.
Look at the 4th and 5th digit in the serial number if these are on the list below you should contact a Canon costumer support centre to have a free repair of your camera.