MCPcopy Create free account
hub / github.com/chatmail/core / get_width

Method get_width

src/message.rs:914–916  ·  view source on GitHub ↗

Returns width of associated image or video file.

(&self)

Source from the content-addressed store, hash-verified

912
913 /// Returns width of associated image or video file.
914 pub fn get_width(&self) -> i32 {
915 self.param.get_int(Param::Width).unwrap_or_default()
916 }
917
918 /// Returns height of associated image or video file.
919 pub fn get_height(&self) -> i32 {

Callers 2

dc_msg_get_widthFunction · 0.80
from_msg_idMethod · 0.80

Calls 1

get_intMethod · 0.80

Tested by

no test coverage detected