I was testing Firefox 4 and I noticed that I was able to directly cut-and-paste an image from the Windows XP Clipboard into a WordPress New Post UI, and firefox does its magic by encoding the PNG. However upon publishing, WordPress is messing a html definition for a Base 64 Encoded PNG.
Here is what the correct html for Base64 Encoded PNG should like:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAIAAAAS8MqlAAAAGElEQVQ4jWNoYPhPBmIY1TaqbVTbMNUGAOgB/7pVXBoXAAAAAElFTkSuQmCC" alt="" />
here is what WordPress produces:
<img src="image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAIAAAAS8MqlAAAAGElEQVQ4jWNoYPhPBmIY1TaqbVTbMNUGAOgB/7pVXBoXAAAAAElFTkSuQmCC" alt="" />
Note: data is missing in wordpress parsed html. I even tried to add it using HTML editor, but wordpress still strips it out. See http://doctrina.wordpress.com/2010/10/16/image-copy-and-paste-from-clipboard-in-firefox/ for an example.
Is this something that can be fixed? This will provide much needed copy-and-paste directly from windows clipboard to WordPress. No more saving a screenshot to desktop and then attach it to wordpress.
Saqib
The blog I need help with is doctrina.wordpress.com.