laptop and a wrench

Bug

The RuntimeImage(Int32, Int32,Byte[]) Class constructor reads RGBA values as BGRA.

Last Published: September 23, 2021 ArcGIS Runtime SDK
Bug ID Number BUG-000131627
SubmittedJune 16, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.6
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

The image pixel format is platform-dependent. On Android and iOS platforms, this expects an RGBA byte order, while on the Windows platform, BGRA is expected. This specific constructor is unintentionally made public and is marked as obsolete or deprecated (indicating it may be removed in a future release). The documentation is updated to indicate the order on each platform.

Workaround

Interchange the values for the Red and Blue parameters.

Steps to Reproduce

Bug ID: BUG-000131627

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options