Function · Desktop Services
getImageDimensions
Reads pixel dimensions from a packaged asset, local file, or PNG data URI.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Signature
TypeScript
getImageDimensions(source: string): Promise<ImageDimensions>Parameters
| Name | Type | Description |
|---|---|---|
source | string |
Returns
Promise<ImageDimensions> —
Related symbols
Source
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1404 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.