IMG_USE_ONLY_565_GRAPHICS_DRIVER_FOR_OUTPUT Macro

Microchip Graphics Library

Microchip Graphics Library
IMG_USE_ONLY_565_GRAPHICS_DRIVER_FOR_OUTPUT Macro
C
#define IMG_USE_ONLY_565_GRAPHICS_DRIVER_FOR_OUTPUT 
Overview

Add this macro in ImageDecoderConfig.h to optimize code for graphics driver that supports 16-bit 5-6-5 color format and rendering is done directly to the display buffer. If either double buffering has to be done or if user specific rendering has to be done, comment out the above mentioned line and provide a callback function to render the pixel values. The callback function will be explained in the API section. If commented out, then the width and height of the display screen has to be provided using the following defines

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved