Open GoogleCodeExporter opened 9 years ago
This is a code-patch that one can try over Mozilla-FireFox dev-code branch to
add WebP image format support in Mozilla-Firefox.
The instructions to build Mozilla-Firefox can be found at:
https://developer.mozilla.org/en-US/docs/Simple_Firefox_build
Original comment by vik...@google.com
on 10 Oct 2012 at 4:21
I apply that patch and build Firefox.
But Firefox can't display some WebP Images, for example
http://www.gstatic.com/webp/gallery/3.webp.
http://www.gstatic.com/webp/gallery/5.webp.
1,2,4 is OK.
Another example:
OK:
https://www.gstatic.com/webp/gallery3/{1..5}_webp_a.webp
NG:
https://www.gstatic.com/webp/gallery3/{1..5}_webp_ll.webp
Original comment by htgu...@infoseek.jp
on 7 Nov 2012 at 7:08
Original comment by pascal.m...@gmail.com
on 10 Nov 2012 at 6:12
Additional Info;
Firefox x64 causes those problems "Comment 2".
Firefox x86 can display all the WebP Images in that gallery.
Original comment by htgu...@infoseek.jp
on 12 Nov 2012 at 12:33
In the function nsWEBPDecoder::WriteInternal(const char *aBuffer, uint32_t
aCount)
> mData = WebPIDecGetRGB(mDecoder, &lastLineRead, &width, &height, &stride);
When Firefox x64 fail to display the WebP image, WebPIDecGetRGB set
lastLineRead as '0'. It should be equal to height.
For example, When Firefox x64 try to display
https://www.gstatic.com/webp/gallery3/1_webp_ll.webp, height = 301, but
lastLineRead = 0.
Original comment by htgu...@infoseek.jp
on 17 Nov 2012 at 2:43
After I replace size_t to uint32_t in all the source files of WebP, Firefox x64
can display all the WebP images in
https://developers.google.com/speed/webp/gallery?hl=ja .
Original comment by htgu...@infoseek.jp
on 25 Nov 2012 at 5:18
What about a Firefox extension? Would that work to display WebP?
Mozilla don't seem interested until WebP is more finalized so I doubt we'll see
it inbuilt into official builds anytime soon...
Original comment by R1S3.0F....@gmail.com
on 22 Dec 2012 at 2:03
I tried to update the libwebp patch with libwebp 0.4.0, for firefox 30.0.
I can compile it, but firefox cannot displays any webp image:
„The image cannot be displayed because it contains errors.”
Original comment by re...@rezso.net
on 16 Jun 2014 at 7:07
Original issue reported on code.google.com by
youngpla...@yahoo.com.cn
on 10 Oct 2012 at 7:39