Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ImageOptim/libimagequant
/ width
Method
width
src/image.rs:219–221 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
217
#[must_use]
218
#[inline(always)]
219
pub const fn width(&self) -> usize {
220
self.px.width as _
221
}
222
223
/// Height of the image in pixels
224
#[must_use]
Callers
4
new_internal
Method · 0.45
update_dither_map
Method · 0.45
set_importance_map
Method · 0.45
contrast_maps
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected