ghost-storage-preprocessor-transform-sqip

0.0.1 • Public • Published

Ghost Storage Preprocessor SQIP Transform

Creates a SQIP for every uploaded file and appends .sqip.svg

Used with ghost-storage-preprocessor.

Prerequisites

  • Golang (https://golang.org/doc/install)
  • Primitive (https://github.com/fogleman/primitive)

Installation

$ npm install ghost-storage-preprocessor-sqip
$ mkdir -p ./content/adapters/storage/preprocessor/transforms
$ cp -r ./node_modules/ghost-storage-preprocessor-transform-sqip ./content/adapters/storage/preprocessor/transforms/sqip

Usage

{
  "storage": {
    "active": "preprocessor",
    "preprocessor": {
      "transforms": [
        ["sqip", {}]
      ]
    }
  }
}

Package Sidebar

Install

npm i ghost-storage-preprocessor-transform-sqip

Weekly Downloads

1

Version

0.0.1

License

WTFPL

Unpacked Size

2.63 kB

Total Files

5

Last publish

Collaborators

  • caseywebb