Namespaces | Functions

bmp.h File Reference

BMP conversion routines. More...

#include "dll.h"
#include <sys/types.h>
#include <stdint.h>
Include dependency graph for bmp.h:
This graph shows which files directly or indirectly include this file:

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.h.