In CachedImage::finishLoading(), the SharedBuffer parameter should have the raw
data of the image. The data in this buffer is the content of the image file.
BitmapImage::dataChanged() might be a better place to alter the image data if
you want your solution to be specific to bitmap images.
Thanks Max,
But the problem I'm facing in Imageloader.cpp is the unavailability of raw
image data [unsigned char*].
I'm trying to get the image data in
ImageLoader::notifyFinished(CachedResource* resource)
So that after getting data I can do my changes and set the data again
But m_image is not pro
Take a look at the ImageLoader class. This is involved when new bytes of an
image are downloaded, and thus eventually ends up triggering the update of the
relevant portion of the screen. You can use this class as a model for updating
the screen once your algorithm is complete.
—Myles
> On Jan 3
Hi All,
I'm new to webkit in context of Painting/Drawing.
I'm trying to use my own algo instead of Webkit defaults Bilenear
Interpolation algo for interpolation of images on a webpage.
That is if destImage Size is greater then SrcImage Size my algo will also
come into picture alongside Webkit Bil
4 matches
Mail list logo