Namespaces | Functions

bmp.cc File Reference

BMP conversion routines. More...

#include "bmp.h"
#include "bmp-internal.h"
#include "error.h"
#include "endian.h"
#include "data.h"
#include "m_javaloader.h"
Include dependency graph for bmp.cc:

Go to the source code of this file.

Namespaces

namespace  Barry
 

Project namespace, containing all related functions and classes.


Functions

size_t Barry::GetBitmapHeadersSize ()
 Returns the size of the bitmap headers (both file and info headers).
size_t Barry::GetTotalBitmapSize (const JLScreenInfo &info)
 Returns the total number of bytes needed to convert a screenshot of the given dimensions into a bitmap, using the ScreenshotToBitmap() function.
void Barry::ScreenshotToRGB (const JLScreenInfo &info, const Data &screenshot, Data &buffer, size_t offset, int depth, bool invert, bool overwrite_alpha, uint8_t alpha)
 Converts screenshot data obtained via JavaLoader::GetScreenshot() into uncompressed RGB bitmap format.
void Barry::ScreenshotToBitmap (const JLScreenInfo &info, const Data &screenshot, Data &bitmap)
 Converts screenshot data obtained via JavaLoader::GetScreenshot() into uncompressed bitmap format, suitable for writing BMP files.

Detailed Description

BMP conversion routines.

Definition in file bmp.cc.