MCPcopy Index your code
hub / github.com/ImageOptim/libimagequant / liq_image_get_width

Function liq_image_get_width

imagequant-sys/src/ffi.rs:343–346  ·  view source on GitHub ↗
(img: &liq_image)

Source from the content-addressed store, hash-verified

341#[no_mangle]
342#[inline(never)]
343pub extern "C" fn liq_image_get_width(img: &liq_image) -> c_uint {
344 if bad_object!(img, LIQ_IMAGE_MAGIC) { return !0; }
345 img.inner.width() as _
346}
347
348#[no_mangle]
349#[inline(never)]

Callers 1

Calls 1

widthMethod · 0.45

Tested by

no test coverage detected