Implemented by
imgIEncoder interface Currently this is a very specific encoder designed to encode a native clipboard image as a JPEG out to disk. It is not intended to be a generic image encoder.
[scriptable, uuid(ccc5b3ad-3e67-4e3d-97e1-b06b2e96fef8)]
interface imgIEncoder : nsISupports
Methods
Encode a native clipboard image
void
encodeClipboardImage(in nsIClipboardImage aClipboardImage, out nsIFile aImageFile)
Compare to: