Once you open a file with QuickLook, it displays an image. Is it possible to get the image shown on QLPreviewPanel? Or maybe open panel and do a screenshot of the Panel's View with the image?
Tried using QLThumbnailImageCreate, but for some reason result is nil. Even though, the "Preview" app generates a correct thumbnail.