---
title: "Discussion on \"Converting between image formats in the browser, including the weird ones (HEIC, AVIF, ICO, SVG, TIFF)\" | Hashnode"
description: "Discussion on \"Converting between image formats in the browser, including the weird ones (HEIC, AVIF, ICO, SVG, TIFF)\". JPG to PNG is the demo everyone ships. Draw the image onto a <canvas>, call toBlob(\"image/png\"), done. Twelve lines, looks great in a tweet.\nThen someone uploads a photo straight off their iPhone and"
url: "https://hashnode.com/posts/converting-between-image-formats-in-the-browser-including-the-weird-ones-heic-avif-ico-svg-tiff/6a47a7b0164f7f03bc4a06d2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Converting between image formats in the browser, including the weird ones (HEIC, AVIF, ICO, SVG, TIFF)](https://buildinginthebrowser.hashnode.dev/converting-between-image-formats-in-the-browser-including-the-weird-ones-heic-avif-ico-svg-tiff?utm_source=hashnode&utm_medium=feed)

JPG to PNG is the demo everyone ships. Draw the image onto a <canvas>, call toBlob("image/png"), done. Twelve lines, looks great in a tweet. Then someone uploads a photo straight off their iPhone and

Jul 3 · 13 min read · buildinginthebrowser.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#webassembly](https://hashnode.com/tag/webassembly)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend](https://hashnode.com/tag/frontend)

## Written by

[swathik](https://hashnode.com/@swathikt)

@swathikt · Hyderabad, India

  
[View profile](https://hashnode.com/@swathikt)

Engineer

Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
