Skip to main content
image_size
ravenrs_
sheet
27.1.27
In ravenrs_
sheet::
engine::
io
ravenrs_sheet
::
engine
::
io
Function
image_
size
Copy item path
Source
pub fn image_size(data: &[
u8
]) ->
Option
<(
u32
,
u32
)>
Expand description
Pixel size of a PNG or JPEG from its header.