Least-squares image resizing using finite differences | Synapse