PNG images often download as JSON data with a .PNG extension

Describe the bug

Some uploaded PNG images, though functioning totally normally within AnyType, will download a JSON representation of the object with a PNG extension when you use the Download button, rather than the actual image file. The same JSON is returned if you query the URI that normally returns the image (e.g. It doesn’t appear to ever happen for JPEG files.

The JSON notably features an impossible creation time, e.g.

{"created":"0001-01-01T00:00:00Z", "name":"!icon_bookmark.png", "extension":".png", "width":200, "height":200, "format":"png", "iso":0, "exposure_time":"", "f_number":0}

I’ve noticed that it will consistently happen with the same PNG files, but not with others, even files that have the same chief attributes (eg 8-bit, RGBA, non-interlaced).

To Reproduce


  • OS: Windows 11 (build 22000.168)
  • Version: 0.18.68

I tried to recreate the bug, but for me, the image is still shown as a PNG, not a JSON object using the cat command. However, I am unable to use the image after downloading it.

To Reproduce

    1. Use the image given by @triangles in a draft.
    1. Download that image from the list of objects.
    1. Use the now downloaded image as an icon of sets.
    1. Unable to do so.

Hey @triangles,
could you try this once again in a current version and if it’s still happening make the image available again?

Closing the topic because there is no response. Please open a new topic or flag this one to be reopened if you still experience this issue.