Implement canvas.toDataURL using PNGEncoder and JPEGEncoder
authorKJ Kim <gen.kim@samsung.com>
Wed, 30 Oct 2013 11:49:34 +0000 (20:49 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Thu, 31 Oct 2013 00:58:27 +0000 (00:58 +0000)
commit9d9d477ab1bb6d0dcebc63dfb036ed731030baca
tree31417f00ef60264131e6ea854754191e84a8a844
parent79978eb8de194a16a0ee91f034d9e78c229212cf
Implement canvas.toDataURL using PNGEncoder and JPEGEncoder

[Title] Implement canvas.toDataURL using PNGEncoder and JPEGEncoder
[Issue#] N/A
[Problem] toDataURL for PNG and JPEG is not supported
[Cause] PNGEncoding and JPEGEncoding is not supported in webkit cairo port
[Solution] implemented it like skia and gtk

Change-Id: I771cfe1eec4a96b7b285e4a9f53ea91778402d8e
Source/WTF/wtf/Platform.h
Source/WebCore/platform/MIMETypeRegistry.cpp
Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp
Source/WebCore/platform/graphics/cairo/CairoUtilities.h
Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp