MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / getImageFileExtensions

Function getImageFileExtensions

src/Web/Pages.cpp:500–517  ·  view source on GitHub ↗

* Get supported image file extensions for BitmapWidget. * The result is a comma separated list of extensions, each starting with a dot. * * @return Comma separated list of supported image file extensions. */

Source from the content-addressed store, hash-verified

498 * @return Comma separated list of supported image file extensions.
499 */
500static String getImageFileExtensions()
501{
502 String result;
503 uint8_t idx;
504
505 for (idx = 0; idx < BitmapWidget::IMAGE_FILE_EXTENSIONS_COUNT; ++idx)
506 {
507 if (0U < idx)
508 {
509 result += ",";
510 }
511
512 result += ".";
513 result += BitmapWidget::IMAGE_FILE_EXTENSIONS[idx];
514 }
515
516 return result;
517}
518
519}; /* namespace tmpl */

Callers 1

Pages.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected