36#define THUMB_SIZE_MAX (100 * 1024 * 1024)
38#define PREVIEW_RENDER_DEFAULT_HEIGHT 128
39#define PREVIEW_RENDER_LARGE_HEIGHT 256
46#define THUMB_DEFAULT_HASH "00000000000000000000000000000000"
ImBuf * IMB_thumb_create(const char *filepath, ThumbSize size, ThumbSource source, ImBuf *img)
ImBuf * IMB_font_preview(const char *filepath, unsigned int width, const float color[4])
ImBuf * IMB_thumb_read(const char *file_or_lib_path, ThumbSize size)
void IMB_thumb_delete(const char *file_or_lib_path, ThumbSize size)
bool IMB_thumb_load_font_get_hash(char *r_hash)
void IMB_thumb_path_unlock(const char *path)
void IMB_thumb_locks_acquire()
ImBuf * IMB_thumb_manage(const char *file_or_lib_path, ThumbSize size, ThumbSource source)
void IMB_thumb_path_lock(const char *path)
ImBuf * IMB_thumb_load_blend(const char *blen_path, const char *blen_group, const char *blen_id)
ImBuf * IMB_thumb_load_font(const char *filepath, unsigned int x, unsigned int y)
void IMB_thumb_locks_release()
void IMB_thumb_makedirs()
char filepath[IMB_FILEPATH_SIZE]