A judge has approved the long-awaited sale of Eastman Kodak Co.’s digital-imaging patents to a collection of technology giants for $527 million, much less than the $2 billion or more that the bankrupt company originally wanted, the Wall Street Journal and PC Magazine report.