Closed
Bug 882733
Opened 11 years ago
Closed 11 years ago
Implement DumpAsDataURL and DumpAsPNG for Moz2D
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: nical, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [mentor=nsilva@mozilla.com][lang=c++])
DumpAsDataURL in gfxASurface is very useful, we should have an equivalent in Moz2D.
Comment 1•11 years ago
|
||
(In reply to Nicolas Silva [:nical] from comment #0)
> DumpAsDataURL in gfxASurface is very useful, we should have an equivalent in
> Moz2D.
This will require an additional libpng dependency or an other solution (minpng.h?)
Reporter | ||
Comment 2•11 years ago
|
||
I'd be happy with free functions like
bool DumpSurfaceAsDataURL(SourceSurface* aSurface, FILE* aOutput);
And then we would not need to have in Moz2D if the additional dependency is a problem.
Reporter | ||
Updated•11 years ago
|
Whiteboard: [mentor=nsilva@mozilla.com][lang=c++]
Comment 3•11 years ago
|
||
These functions already exist in gfxUtils :)
http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/gfxUtils.h#154
Reporter | ||
Comment 4•11 years ago
|
||
\o/
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•