Dali 3D User Interface Engine
Namespaces | Functions | Variables
loader-png.h File Reference
#include <cstdio>
#include <dali/public-api/common/dali-vector.h>
#include <dali/public-api/images/pixel.h>
#include "image-encoder.h"
#include "image-loader-input.h"
Include dependency graph for loader-png.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  Dali
 The top level DALi namespace.
namespace  Dali::Integration
namespace  Dali::TizenPlatform
namespace  Dali::TizenPlatform::Png


bool Dali::TizenPlatform::LoadBitmapFromPng (const ResourceLoadingClient &client, const ImageLoader::Input &input, Integration::Bitmap &bitmap)
 Loads the bitmap from an PNG file. More...
bool Dali::TizenPlatform::LoadPngHeader (const ImageLoader::Input &input, unsigned int &width, unsigned int &height)
 Loads the header of a PNG file and fills in the width and height appropriately. More...
bool Dali::TizenPlatform::EncodeToPng (const unsigned char *const pixelBuffer, Vector< unsigned char > &encodedPixels, std::size_t width, std::size_t height, Pixel::Format pixelFormat)
 Potential improvements: More...


const unsigned char Dali::TizenPlatform::Png::MAGIC_BYTE_1 = 0x89
const unsigned char Dali::TizenPlatform::Png::MAGIC_BYTE_2 = 0x50
Dali Docs Home
Read more about Dali