aboutsummaryrefslogtreecommitdiff
path: root/thumbnail.h
blob: f4cfc58eb4cf03f82b7e42118d90548025863a10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef THUMBNAIL_H
#define THUMBNAIL_H

#include <stdbool.h>

struct thumbnail_dim
{
    unsigned long w, h;
};

bool thumbnail_configured(void);
int thumbnail_create(const char *src, const char *dst);
int thumbnail_dim(const char *path, struct thumbnail_dim *d);

#endif /* THUMBNAIL_H */