wordplaydev / wordplay

An accessible, language-inclusive programming language and IDE for creating interactive typography on the web.
Other
64 stars 38 forks source link

Import image as color list source file #559

Open amyjko opened 1 month ago

amyjko commented 1 month ago

What are you trying to do that you can't?

Wordplay doesn’t support image rendering or image uploading, meaning it’s not possible to manipulate or display images of personal significance. For example, if I wanted to upload an image of my cat, and then render it with monochrome cat emojis, I could not.

The one exception is Camera streams, which do allow images, but only from a live sensor.

What is your idea?

Allow images to be imported as a source file that evaluates to a 2D list of colors. This would allow image uploads, but as uncompressed Wordplay code, and then the list could be manipulated and rendered for display as text. We would almost certainly want to set a limit on resolution, downsampling the image. We would probably also want multiple interfaces for upload, like an explicit form and drag and drop into a project.

ahsoj22 commented 1 week ago

@amyjko I would like to be assigned this issue