---
title: "David Miller (@morphio) | Hashnode"
description: "Building Morphio, an online toolkit for image format conversion. Read the latest articles by David Miller on Hashnode."
url: "https://hashnode.com/@morphio"
---

@morphio

# David Miller

@morphio · New York, USA · Joined October 2026

Building Morphio, an online toolkit for image format conversion.

### [Give a canvas export its filename when appending it to FormData](https://morphio-images.hashnode.dev/give-a-canvas-export-its-filename-when-appending-it-to-formdata?utm_source=hashnode&utm_medium=feed)

A server may receive a canvas export under the name blob when the form contains a Blob with no filename. Supply a filename when adding the export to FormData. FormData.append takes the filename as its

1 min read · [morphio-images.hashnode.dev](https://morphio-images.hashnode.dev/give-a-canvas-export-its-filename-when-appending-it-to-formdata?utm_source=hashnode&utm_medium=feed)

[23h ago](https://hashnode.com/posts/give-a-canvas-export-its-filename-when-appending-it-to-formdata/6afdc756d37a28dd7edde19e)

### [Measure image preparation separately from preview rendering](https://morphio-images.hashnode.dev/measure-image-preparation-separately-from-preview-rendering?utm_source=hashnode&utm_medium=feed)

When an image preview appears late, one timer from selection to display hides the work in between. Record when each step finishes so you can see where the wait occurred. Start a new timing record for

2 min read · [morphio-images.hashnode.dev](https://morphio-images.hashnode.dev/measure-image-preparation-separately-from-preview-rendering?utm_source=hashnode&utm_medium=feed)

[Nov 8](https://hashnode.com/posts/measure-image-preparation-separately-from-preview-rendering/6af01ddaceae51e46b64f843)

### [Do not store a preview blob URL as an image’s permanent address](https://morphio-images.hashnode.dev/do-not-store-a-preview-blob-url-as-an-image-s-permanent-address?utm_source=hashnode&utm_medium=feed)

A preview blob URL depends on an object in the browser environment that created it. Save only that URL in a database and the record can outlive the resource it refers to. Keep the selected File and it

2 min read · [morphio-images.hashnode.dev](https://morphio-images.hashnode.dev/do-not-store-a-preview-blob-url-as-an-image-s-permanent-address?utm_source=hashnode&utm_medium=feed)

[Nov 5](https://hashnode.com/posts/do-not-store-a-preview-blob-url-as-an-image-s-permanent-address/6aecba6a1b3b41aa4a8391ec)

### [Paint the export background into the bitmap instead of the canvas CSS](https://morphio-images.hashnode.dev/paint-the-export-background-into-the-bitmap-instead-of-the-canvas-css?utm_source=hashnode&utm_medium=feed)

A transparent canvas can look white because of its CSS background. That background belongs to the element's presentation. It does not fill the canvas bitmap. When the intended output needs an opaque b

2 min read · [morphio-images.hashnode.dev](https://morphio-images.hashnode.dev/paint-the-export-background-into-the-bitmap-instead-of-the-canvas-css?utm_source=hashnode&utm_medium=feed)

[Nov 4](https://hashnode.com/posts/paint-the-export-background-into-the-bitmap-instead-of-the-canvas-css/6aeab3871e91a3945acea0ab)

### [Estimate the byte payload of an image pixel buffer](https://morphio-images.hashnode.dev/estimate-the-byte-payload-of-an-image-pixel-buffer?utm_source=hashnode&utm_medium=feed)

Estimate a raw pixel buffer from its dimensions and component format. For an 8-bit RGBA buffer, each pixel has four one-byte components. Its array payload is width multiplied by height multiplied by f

2 min read · [morphio-images.hashnode.dev](https://morphio-images.hashnode.dev/estimate-the-byte-payload-of-an-image-pixel-buffer?utm_source=hashnode&utm_medium=feed)

[Nov 3](https://hashnode.com/posts/estimate-the-byte-payload-of-an-image-pixel-buffer/6ae95da98dc480b59f5cf13d)
