Euphoria
image.cc File Reference
#include "core/image.h"
#include <iostream>
#include "stb_image.h"
#include "stb_image_write.h"
#include "assert/assert.h"
#include "base/numeric.h"
#include "log/log.h"
#include "base/cint.h"
#include "core/decompress.h"
#include "io/vfs.h"
#include "io/vfs_path.h"

Go to the source code of this file.

Namespaces

 eu
 
 eu::core
 

Functions

int eu::core::write_image_data (stbi_write_func *func, void *context, int w, int h, int comp, const void *data, ImageWriteFormat format, int jpeg_quality)
 
ImageLoadResult eu::core::load_image (io::FileSystem *fs, const io::FilePath &path, AlphaLoad alpha)
 
ImageLoadResult eu::core::load_image (std::shared_ptr< MemoryChunk > file_memory, const std::string &path, AlphaLoad alpha)
 
ImageLoadResult eu::core::load_image (void *compressed_data, int compressed_size, const std::string &path, AlphaLoad alpha)