Blender V5.3
blendthumb.hh File Reference
#include <optional>
#include "BLI_array.hh"
#include "BLI_vector.hh"

Go to the source code of this file.

Classes

struct  blender::Thumbnail

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define MAKE_ID(a, b, c, d)

Enumerations

enum  blender::eThumbStatus {
  blender::BT_OK = 0 , blender::BT_FILE_ERR = 1 , blender::BT_COMPRES_ERR = 2 , blender::BT_DECOMPRESS_ERR = 3 ,
  blender::BT_INVALID_FILE = 4 , blender::BT_EARLY_VERSION = 5 , blender::BT_INVALID_THUMB = 6 , blender::BT_ERROR = 9
}

Functions

std::optional< Vector< uint8_t > > blender::blendthumb_create_png_data_from_thumb (const Thumbnail *thumb)
eThumbStatus blender::blendthumb_create_thumb_from_file (FileReader *rawfile, Thumbnail *thumb)

Detailed Description

Shared thumbnail extraction logic.

Used for both MS-Windows DLL and Unix command line.

Definition in file blendthumb.hh.

Macro Definition Documentation

◆ MAKE_ID

#define MAKE_ID ( a,
b,
c,
d )