The compression method (image format) to use when encoding the image.
The compression quality level to use when encoding the image.
Whether to include the alpha channel in the uploaded image.
Note: This property must be set after compressionMethod to avoid conflicts.
Alpha channel is not supported for JPG format.
StaticcreateCreates a new ImageUploadOptions instance with default settings.
StaticgetReturns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Provides configuration options for uploading images via RemoteMediaModule.uploadImage. Allows setting the compression method, compression quality, and whether to include alpha channel.
Example