Image.Plane.RowStride Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The row stride for this color plane, in bytes.
public abstract int RowStride { [Android.Runtime.Register("getRowStride", "()I", "GetGetRowStrideHandler")] get; }
[<get: Android.Runtime.Register("getRowStride", "()I", "GetGetRowStrideHandler")>]
member this.RowStride : int
Property Value
The byte spacing between successive rows of samples, including row padding where present.
- Attributes
Remarks
The row stride for this color plane, in bytes.
This is the distance between the start of two consecutive rows of pixels in the image. Row stride is undefined for formats such as RawPrivate. ImageReader throws UnsupportedOperationException when configured for that format. JPEG and HEIC images from ImageReader have a row stride of zero.
Android reference for android.media.Image.Plane.getRowStride.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.