fix docs
This commit is contained in:
parent
7739e5988e
commit
7ce724c0fd
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ proc decodeMask*(data: string): Mask {.raises: [PixieError].} =
|
|||
proc readImageDimensions*(
|
||||
filePath: string
|
||||
): ImageDimensions {.inline, raises: [PixieError].} =
|
||||
## Loads an image from a file.
|
||||
## Decodes an image's dimensions from a file.
|
||||
try:
|
||||
decodeImageDimensions(readFile(filePath))
|
||||
except IOError as e:
|
||||
|
|
Loading…
Reference in a new issue