⭐ Moe-Counter Compatible Website Hit Counter Written in Gleam mayu.due.moe
hit-counter svg moe
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor(image): annotate image format case headers

Fuwn 4de61ce9 b40ddaf0

+2 -5
+2 -5
src/image.gleam
··· 6 6 7 7 pub fn get_image_information(image) { 8 8 case image { 9 - <<0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, _:bits>> -> 10 - parse_png_chunks(image, 8) 9 + <<0x89, "PNG\r\n":utf8, 0x1A, 0x0A, _:bits>> -> parse_png_chunks(image, 8) 11 10 << 12 - 0x47, 13 - 0x49, 14 - 0x46, 11 + "GIF":utf8, 15 12 _:16, 16 13 _:unsigned, 17 14 width_0:8,