enyancc/image-palette

Extracts colors from an image and generates a color palette.

1.0.0 2021-03-14 02:22 UTC

This package is auto-updated.

Last update: 2024-04-14 09:39:30 UTC


README

Statamic 3.0+

Features

  • Automatically grab the color palette from your image assets.
  • Update existing image assets using integrated command.
  • Access palette colors in antlers.
  • Preview palette when editing an image

Getting Started

We have made things easy for you start. Here is the three steps your need to follow:

  1. Install the addon Simply run composer require enyancc/image-palette You also can follow official Statamic help guide

  2. Generate palette for existing assets. If you already started uploading assets, it is very easy to add palette, run php please imagepalette:generate.

  3. Use it. Access palette colors in your antlers templates using {{ asset:palette }} iterator

Changelog

1.0.0 🚀 Initial release.