Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pixie.nim
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ proc decodeImage*(data: string): Image {.raises: [PixieError].} =
(data.readStr(0, 5) == xmlSignature or data.readStr(0, 4) == svgSignature):
newImage(parseSvg(data))
elif data.len > 6 and data.readStr(0, 6) in gifSignatures:
decodeGif(data)
newImage(decodeGif(data))
elif data.len > (14+8) and data.readStr(0, 4) == qoiSignature:
decodeQoi(data).convertToImage()
elif data.len > 9 and data.readStr(0, 2) in ppmSignatures:
Expand Down
Loading