I like your cache
thanks
the primitive only has a cache of size one,what a trash!(we dont normally repeatedly call the same costume---we use variables)
is it compatible with other format than .png ?
if the pil can open it,yes
OH RIGHT
You cannot let this read stuff that do not have an alpha(i found out that pil doesnt give a nil on alpha when there isnt any,instead it gets an error,because you guys are monkeying with stuff that dont have an alpha and server is mad)
I'm sorry, I've tested a
block from a helicoptur project with a random image from a clipart services.
This block does not require a hand-crafted server to convert images to uncompressed pixels, just any all-purpose CORS proxy.
Thats nice
(i dont see anything that should be apolegized)
maybe it has weird dimensions?
i cant extract the metadata
Your block was embedded with the cached costumes - browser/JS was not able to handle this.
So there is a fresh one with the URL of the image causing your server to fail
All origins fork on replit
Could you give a practical example of using this please Brian?
Because by the time I 've got a current costume from a url, I find the canvas has already been tainted
you cannot do pixels of costume with tainted stuffs
Oh. Sorry. I tried it on a vector costume from our collection, and those can be turned into bitmaps. I give up, I guess. I'm so not a media expert.
vector costumes work fine
but all textures are bitmap
Wait what? It's vector costumes that give "tainted" error messages.
I mean that your method works fine on vectors but bitmaps go boom
Oh. But it isn't needed for bitmaps!