Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct EncodedImageFormat

sealed struct EncodedImageFormat
Encoding image format supported by the toolkit

Fields

Constants

JPEG

EncodedImageFormat = {0}
JPEG image format. Lossy compression, best for photos No alpha channel support File size depends on image complexity

PNG

EncodedImageFormat = {1}
PNG image format. Lossless compression, best for graphics Supports alpha channel File size depends on image complexity

WEBP

EncodedImageFormat = {2}
WEBP image format. Contains both lossy and lossless modes Typically smaller than JPEG/PNG Supports alpha channel
Last modified on October 29, 2026