MCPcopy Create free account
hub / github.com/JetBrains/skija / getBytesPerPixel

Method getBytesPerPixel

shared/java/IHasImageInfo.java:60–60  ·  view source on GitHub ↗

Returns number of bytes per pixel required by ColorType. Returns zero if colorType is ColorType#UNKNOWN. @return bytes in pixel

()

Source from the content-addressed store, hash-verified

58 * @return bytes in pixel
59 */
60 default int getBytesPerPixel() {
61 return getImageInfo().getBytesPerPixel();
62 }
63

Callers 4

executeMethod · 0.65
getBytesPerPixelMethod · 0.65
getBytesPerPixelMethod · 0.65
pixelSortingMethod · 0.65

Implementers 3

Codecshared/java/Codec.java
Bitmapshared/java/Bitmap.java
Imageshared/java/Image.java

Calls

no outgoing calls

Tested by 1

executeMethod · 0.52