You cannot "convert" pictures or photographs from JPEG format to KML format (Google Earth), because that's not possible.
Nevertheless, with programs like RoboGEO users can export the geocode information from the header of the photograph and save it as a KML/KMZ file.