569
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Interface == | == Interface == | ||
We need to add a new interface. | We need to add a new interface. When you read from the stream should we encode just that much? Thoughts? | ||
Something like: | Something like: | ||
Line 6: | Line 6: | ||
interface imgIEncoder : nsISupports | interface imgIEncoder : nsISupports | ||
{ | { | ||
void encode(imgIContainer in, nsIInputStream out); | |||
/* Output width/height */ | /* Output width/height */ |
edits