cshum / imagor

Fast, secure image processing server and Go library, using libvips
Apache License 2.0
3.38k stars 133 forks source link

Feature request: add thumbhash support in `meta` api #372

Open everyx opened 1 year ago

everyx commented 1 year ago

ThumbHash is a a very compact representation of an image placeholder, it would be great to add it support to the meta API. :)

chladog commented 1 year ago

Would be super useful! 💯 But probably as filter/path parameter would be even better, no need to fetch metadata and extracting from json, just /thumb/path2img or thumb() filter. And you could make a thumb of processed images as well this way! (E.g. you get thumb of grayscaled image, hue-shifted or cropped one)