"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "extractThumbnailsFromMetadata", {
    enumerable: true,
    get: function() {
        return extractThumbnailsFromMetadata;
    }
});
function extractThumbnailsFromMetadata(metadata) {
    if (!metadata?._thumbnails) {
        return [];
    }
    return (metadata._thumbnails || []).map((thumb)=>({
            index: thumb.index,
            width: thumb.width,
            height: thumb.height,
            format: thumb.format,
            size: thumb.size
        }));
}

//# sourceMappingURL=thumbnail.util.js.map