@stefan
If it was me I'd try saving it as a temp file PNG and reading it back off disk, I think. Good luck!
Posts
-
Has anyone tried uploading an image of a chart from Google Sheets to Mastodon via Google Apps Scripts? -
Has anyone tried uploading an image of a chart from Google Sheets to Mastodon via Google Apps Scripts?@stefan
Yeah I noticed that. If there's a method for getting it as a PNG, then clearly getting its raw bytes might not get it as a PNG.Dump the content of `imageData` and see what it looks like?
-
Has anyone tried uploading an image of a chart from Google Sheets to Mastodon via Google Apps Scripts?@stefan
What format is the image you're trying to send?