ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

I thought it would be easy to improve the blur so that it linearizes the image before blurring and re-applies the gamma curve after — apparently this is a completely unsolved problem in the web ecosystem and I can't find any JS packages that handle blur properly??? :(

Apr 14, 2025, 9:23 PM

Record data

{
  "uri": "at://did:plc:h37kupnr37u7gj754ld3wpeq/app.bsky.feed.post/3lmsioihzik2i",
  "cid": "bafyreichqfwt67fkagn67xqczazphmsunfu5sgux4v5o5sxyizk6x2joeq",
  "value": {
    "text": "I thought it would be easy to improve the blur so that it linearizes the image before blurring and re-applies the gamma curve after — apparently this is a completely unsolved problem in the web ecosystem and I can't find any JS packages that handle blur properly??? :(",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.images",
      "images": [
        {
          "alt": "An image with green and red sides, blurred with a gross dark line in the middle that shouldn't be darker than either side but somehow is due to improper colour math. ",
          "image": {
            "$type": "blob",
            "ref": {
              "$link": "bafkreifgs3nkghvfc6o4wzupqgrqlv2zbrtg2omixcysenihhrgak2t2gq"
            },
            "mimeType": "image/jpeg",
            "size": 591237
          },
          "aspectRatio": {
            "width": 1732,
            "height": 1306
          }
        }
      ]
    },
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreicil7qmyah76b54nk2jlb7nb32akfojwet3jhqrddpjx4e34ou4ly",
        "uri": "at://did:plc:iqljtcletlr2tflk2524yj5l/app.bsky.feed.post/3lmrojwpszk2a"
      },
      "parent": {
        "cid": "bafyreicil7qmyah76b54nk2jlb7nb32akfojwet3jhqrddpjx4e34ou4ly",
        "uri": "at://did:plc:iqljtcletlr2tflk2524yj5l/app.bsky.feed.post/3lmrojwpszk2a"
      }
    },
    "createdAt": "2025-04-14T21:23:13.981Z"
  }
}