AlexanderSergan / csv-to-img

A Node.js utility for image extraction from *.csv files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Csv image extractor

Overview

This is a small tool which help to extract jpeg files from csv datasheets.

API

Flag Default Description
--input, -i n/a Path to input *.csv file
--output, -o out Output folder

Usage

NPM installation:

To use this library, install the package globally with:

npm install -g csv-img-extract

Run script with specified --input and --ouptut flags:

csv-img-extract --input example.csv --output imagesData
# will create ./imagesData folder and extract images with names according to image Id

From binary files:

Executable files are located at dist folder. Windows, Linux and Mac environments are supported.

Building binaries from source

Install nexe globally with npm:

npm i -g nexe

Run npm script according to your target environment:

npm run build-linux
npm run build-win
npm run build-mac

About

A Node.js utility for image extraction from *.csv files


Languages

Language:JavaScript 100.0%