UNPKG

@codenoobforreal/clitools

Version:

CLI tool for video processing (H.265/HEVC encoding & QuickTime compatibility) using FFmpeg, and batch lossless image compression with format preservation

10 lines 394 B
import { SUPPORT_IMAGE_EXT } from "../../constants.js"; import { isImageFile } from "../../libs/file-type.js"; import { getFilePathsFromPath } from "../../utils/path-scaner.js"; export async function getImagePathsFromPath(path) { return getFilePathsFromPath(path, { extensions: [...SUPPORT_IMAGE_EXT], validateFn: isImageFile, }); } //# sourceMappingURL=collector.js.map