Show blurhashes for image events
This commit is contained in:
14
src/blurhash.h
Normal file
14
src/blurhash.h
Normal file
@@ -0,0 +1,14 @@
|
||||
// SPDX-FileCopyrightText: 2018 Wolt Enterprises
|
||||
// SPDX-License-Identifiert: MIT
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <math.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
uint8_t *decode(const char *blurhash, int width, int height, int punch, int nChannels);
|
||||
|
||||
bool isValidBlurhash(const char *blurhash);
|
||||
Reference in New Issue
Block a user