Jump to content

Paletter - Extract palette from an image


Recommended Posts

Posted (edited)

Extract color from an image

 

export.gif

 

Features

  1. Dominates the color palette with k-means clustering
  2. support image format: `jpg`, `png`, `gif`, `bmp`, `webp` and `tiff`
  3. Local file / base64 image data URI / `http` and `https` image source URL
  4. Export palette
    1. Code
    2. CSS
    3. ASE file
    4. Image file: Support `RGB` ,`HEX` ,`CMYK` ,`HSL` ,`HSV` ,`HWB` ,`LAB` ,`XYZ` ,`HCG`
  5. Copy palette (`⌥ + Enter` Single / `^ + Enter` Multiple) to clipboard
    1. `RGB` ,`HEX` ,`CMYK` ,`HSL` ,`HSV` ,`HWB` ,`LAB` ,`XYZ` ,`HCG`
    2. Multiple palette mode copy color separated by (`⌥ + Enter`)

 

Requires

  1. Preferably Alfred 5

 

Configuration

  1. Number of colors to extract

 

Usage

 

usage.jpg

 

- File Filter / File Action 
- Hokey
- Universal Action with Base64 Image Data URI and image URL

 

Copy Single Color

copy-single.gif

 

Copy Multiple Colors

copy-multiple.gif

 

Export Image Sample: Hex

hex.png

 

ASE sample Decode result

ace-color-decode.jpeg

 

 

Download / Source Code
Make sure to download the latest released directly from the releases page. Download here

Source Code https://github.com/cage1016/alfred-paletter

 

Edited by cage.chung
revised README and new demo.gif for better user experience
Posted
4 minutes ago, cage.chung said:

Script Filer support universal action.

 

That only works if you have the feature turned on in Alfred Preferences → Features → Universal Actions → Actions (bottom checkbox).

 

By adding the object specifically, it will work for everyone.

Posted (edited)
11 hours ago, vitor said:

 

That only works if you have the feature turned on in Alfred Preferences → Features → Universal Actions → Actions (bottom checkbox).

 

By adding the object specifically, it will work for everyone.

 

Thanks for reminding.  v0.2.1 add File Filter / File Action / Universal Action for better user experience

Edited by cage.chung
  • cage.chung changed the title to Paletter - Extract palette from an image

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...