When pasting an image from the clipboard in Windows the following error can be seen
The same image saved as a PNG file (larger than 1024kb) and then uploaded uploads without error.
You can try it for yourself.
- Download the full-size original version of this image and save it to disk
- Open in Microsoft Paint (the original one)
- Select all
- Copy to clipboard
- Attempt to paste into Discourse Composer
Doubtful this is a bug, probably dependent on the PNG encoding.
Try using PNGOUT, or converting to 8 bit PNGOUT, to see some of the differences. And PNGOUT is lossless!
The key point here is that the upload limit for images is higher than 1MB…
… this upload limit error appears to be the default for “attachments”.
Oh I see. @zogstrip can you have a look?
zogstrip
(RĂ©gis Hanol)
5
3 Likes