This commit is contained in:
byte[] 2019-12-08 18:17:12 -05:00
parent c63c4cb0c1
commit 3c84bae2fc

View file

@ -64,7 +64,7 @@
= @image.image_width
| x
= @image.image_height
=<> String.upcase(@image.image_format)
=<> String.upcase(to_string(@image.image_format))
- size_kb = div(@image.image_size, 1024)
- size_mb = Float.round(size_kb / 1024.0, 2)
span title="#{size_kb} kB"