Nemo QML Plugin Thumbnailer
The Thumbnailer module provides API for enabling thumbnail caching of images and videos in your application. The thumbnail images are generated upon demand and cached on the disk for faster access.
The simplest way to create thumbnails is to use Nemo thumbnail image provider:
import QtQuick 2.0
import Nemo.Thumbnailer 1.0
Image {
source: "image://nemoThumbnail/" + path
width: 100
height: 100
sourceSize.width: width
sourceSize.height: height
}
For more control use the dedicated Thumbnail API.
import QtQuick 2.0
import Nemo.Thumbnailer 1.0
Thumbnail {
source: "photo.jpg"
width: 100
height: 100
sourceSize.width: width
sourceSize.height: height
}
The Thumbnailer module includes the following types:
Thumbnail | Generates and displays a cached thumbnail of the source image or video |