Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ImageFormat.h File Reference
Go to the source code of this file.
Functions | |
| int | openImageFileFromSD (char *, uint16_t **, uint8_t **) |
| int | directDrawImageFileFromSD (uint16_t, uint16_t, uint16_t, uint16_t, int16_t, int16_t, char *) |
Detailed Description
LICENSE
Pokitto development stage library Software License Agreement
Copyright (c) 2015, Jonne Valola ("Author") All rights reserved.
This library is intended solely for the purpose of Pokitto development.
Redistribution and use in source and binary forms, with or without modification requires written permission from Author.
Definition in file ImageFormat.h.
Function Documentation
| int directDrawImageFileFromSD | ( | uint16_t | , |
| uint16_t | , | ||
| uint16_t | , | ||
| uint16_t | , | ||
| int16_t | , | ||
| int16_t | , | ||
| char * | |||
| ) |
HV why we have to check fileOK()?
Check image validity
Zero size parameter means full image size
Check parameters
Zero size parameter means full image size
Clip image to screen dimensions
Read and copy image data directly to the screen
Definition at line 312 of file BmpImage.cpp.
| int openImageFileFromSD | ( | char * | , |
| uint16_t ** | , | ||
| uint8_t ** | |||
| ) |
numcol is the number of colors for output
Check image validity
Read and copy palette
Read and copy image data
Definition at line 67 of file BmpImage.cpp.
Generated on Tue Jul 12 2022 21:03:52 by
1.7.2