Hi! I'm submitting a patch that improves performance of previewing large images in Emacs; more details in the commit message. Cheers, Patryk.