-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Labels
attachments/activitiesποΈ Work related to attachments and/or activitiesποΈ Work related to attachments and/or activitiescross-import-overlaysπ° Cross-import overlays (Foundation, Core Graphics, etc.)π° Cross-import overlays (Foundation, Core Graphics, etc.)enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededimage-attachmentsπΈ Work related to image attachmentsπΈ Work related to image attachmentswasi/wasmπ§ WebAssembly supportπ§ WebAssembly support
Description
This issue tracks adding AttachableAsImage support on Wasm via JavaScript bridging.
Standardized JavaScript has several classes (types? prototypes? whatever the JS terminology is) that represent images that can be serialized. For example, HTMLCanvasElement has a toBlob() function that converts the contents of the canvas to PNG, JPEG, etc.
We would need to be able to link to JavaScriptKit in some fashion and would need to see how HTMLCanvasElement is represented on the Swift side before we could add protocol conformances: it's possible we would need to add blanket conformance for JSObject via isInstanceOf(_:).
Metadata
Metadata
Assignees
Labels
attachments/activitiesποΈ Work related to attachments and/or activitiesποΈ Work related to attachments and/or activitiescross-import-overlaysπ° Cross-import overlays (Foundation, Core Graphics, etc.)π° Cross-import overlays (Foundation, Core Graphics, etc.)enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededimage-attachmentsπΈ Work related to image attachmentsπΈ Work related to image attachmentswasi/wasmπ§ WebAssembly supportπ§ WebAssembly support
Type
Projects
Status
No status