Xdg Thumbnails | Coderz Product

xdg_thumbnails

Last updated:

0 purchases

xdg_thumbnails Image
xdg_thumbnails Images

Free

Languages

Categories

Add to Cart

Description:

xdg thumbnails

xdg_thumbnails #
Access XDG thumbnails on Unix systems.
Features #

Access thumbnails by Uri
Get normal or large sizes of the thumbnails

Usage #
// create an [XdgThumbnail] instance
final thumbnail = XdgThumbnail(Uri.path('/my/fancy/file.extension'));

// get the normal thumbnail file
final normalThumbnail = thumbnail.normal;

if(normalThumbnail == null) {
print('There\'s no thumbnail for the fancy file.');
}

print(normalThumbnail.normal?.readAsBytesSync());

// or you might fetch the large thumbnail
final largeThumbnail = thumbnail.large;
copied to clipboard
Additional information #
Theoretically, the XDG Thumbnail Managing Standard
allows "Extra", as well as "Extra extra" large thumbnails too, but in real life, it does not seem as if they are used.
As a result, this package does not support them to avoid confusion.
This package is EUPL licensed.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.