|
Blender V5.3
|
#include <cstdlib>#include <string>#include "util/image_metadata.h"#include "util/param.h"#include "util/string.h"#include "util/types_image.h"Go to the source code of this file.
Macros | |
| #define | TX_FILE_FORMAT_VERSION 0 |
Functions | |
| bool | resolve_tx (const string &filepath, const string &texture_cache_path, ustring colorspace, const ImageAlphaType alpha_type, const ImageFormatType format_type, std::string &out_filepath, ImageMetaData &out_metadata) |
| bool | make_tx (const string &filepath, const string &out_filepath, ustring colorspace, const ImageAlphaType alpha_type, const ImageFormatType format_type) |
| ustring | make_tx_get_file_colorspace (const ImageMetaData &metadata) |
| #define TX_FILE_FORMAT_VERSION 0 |
Definition at line 21 of file image_maketx.h.
Referenced by ImageMetaData::detect_tiles(), make_tx(), and unique_filename_tx().
| bool make_tx | ( | const string & | filepath, |
| const string & | out_filepath, | ||
| ustring | colorspace, | ||
| const ImageAlphaType | alpha_type, | ||
| const ImageFormatType | format_type ) |
Definition at line 930 of file image_maketx.cpp.
References ImageMetaData::colorspace, ImageMetaData::finalize(), LOG_INFO, LOG_WARNING, make_tx(), ImageMetaData::oiio_load_metadata(), path_create_directories(), and path_dirname().
Referenced by blender::CCL_generate_texture_cache(), OIIOImageLoader::load_metadata(), make_tx(), make_tx(), maketx_func(), and resolve_tx().
| ustring make_tx_get_file_colorspace | ( | const ImageMetaData & | metadata | ) |
Definition at line 760 of file image_maketx.cpp.
References ImageMetaData::colorspace, ColorSpaceManager::colorspace_is_data(), ImageMetaData::is_compressible_as_srgb, make_tx_get_file_colorspace(), u_colorspace_data, u_colorspace_scene_linear, and u_colorspace_scene_linear_srgb.
Referenced by ImageMetaData::finalize(), make_tx(), make_tx_get_file_colorspace(), and resolve_tx().
| bool resolve_tx | ( | const string & | filepath, |
| const string & | texture_cache_path, | ||
| ustring | colorspace, | ||
| const ImageAlphaType | alpha_type, | ||
| const ImageFormatType | format_type, | ||
| std::string & | out_filepath, | ||
| ImageMetaData & | out_metadata ) |
References CCL_NAMESPACE_END, make_tx(), make_tx_get_file_colorspace(), and resolve_tx().