The best quality would be from scanning the photos. Although, most scanners are designed for documents, not photos, typically they will have Contact Image Sensor (CIS) rather than the better CCD (for an illustration of the difference, see this group test).
Probably the best scanners for photo...