James Zern
518f2cd738
cosmetics: gif2webp: fix indent
...
Change-Id: I9b7aaefb33b4101bcb572577ce17fb3953599c2b
2013-05-29 16:00:05 -07:00
skal
764fdffaac
fix a memory leak in gif2webp
...
(rgba->yuv allocates memory)
Also fixed few warning and cleaned the code up.
Change-Id: Id904ad3ad8802ea9fc3d34247d27193dfa7b0b99
2013-05-22 23:49:24 +02:00
Urvang Joshi
043e1ae4bd
gif2webp: Fix signed/unsigned comparison mismatch
...
Change-Id: I355f0614424276550db71b24e5bb1948e5c6894c
2013-05-10 13:37:20 -07:00
Pascal Massimino
a4e1cdbbe8
Remove the gcc compilation comments
...
They went out of sync some time ago, and are
no longer really required since we have them
buildable from makefile.unix
Change-Id: Ica2dcf5c55f44365598f832f55204d123d7aa601
2013-05-01 15:01:37 -07:00
Urvang Joshi
b26e5ad540
gif2webp: Fix ICC and XMP support
...
Change-Id: Ib5aafef388bd191610e4cc2f8180f35cd454f1d3
2013-04-18 14:19:25 -07:00
Urvang Joshi
a5ebd143d6
gif2webp: Bgcolor fix for a special case
...
When transparent color index and background color index are same,
we should set background color to 0x00ffffff (transparent).
For this, we delay setting the background color until we have read the
first frame.
Change-Id: I443609b9c7697a2b94a66992460cff8465b3c127
2013-03-25 16:30:27 -07:00
James Zern
14d42af207
examples: don't use C99 %zu
...
this would require a PRIuS or similar macro for proper platform
compatibility (Visual Studio for instance would be variants of %lu)
Change-Id: I1af530c7c358c91b845acde1d8c12ef46c2ef746
2013-03-20 16:59:35 -07:00
James Zern
723847d5d7
gif2webp: only write error messages to stderr
...
also output something if -o is not given, but the process succeeded
Change-Id: I466c377f0cbf8c9f45bb1839191b04dada9c5f0f
2013-03-18 11:13:35 -07:00
James Zern
59423a2486
gif2webp: fix crash on open failure with libgif5
...
output the current gif_error and use it instead of the NULL context to
retrieve an error message.
Change-Id: Ib761ebd36b3ddd6288375de46e671022d2381083
2013-03-17 18:06:39 -07:00
James Zern
9acb17dea4
gif2webp: silence a unused param warning
...
Change-Id: I694857fc6adb011f19d14780de4f8c71e2719707
2013-03-17 17:04:54 -07:00
Urvang Joshi
fdeeb01dc6
gif2webp: Be lenient about background color index.
...
Change-Id: I4440cffff4e8cefb3b0327a9b4925e05a7bbfc50
2013-03-05 13:41:55 -08:00
Urvang Joshi
a5042a3240
GetVersion() methods for mux and demux
...
Also use the same in example binaries.
Change-Id: Id4bb4c4231a6b8fe9ed4370a6f46567c52a04a17
2013-02-26 14:22:06 -08:00
Urvang Joshi
8b650635df
multiple libgif versions support for gif2webp
...
Make it work for libgif v5.0+, for which a couple of APIs have changed.
Change-Id: I6dd49bb5bf1b60f96f3a164d58ef2ef19281c96b
2013-01-08 11:52:24 -08:00
Urvang Joshi
476e293fe8
gif2webp: Use DGifOpenFileName()
...
This removes some unnecessary code.
Change-Id: Ic87baa402362f43b30d7c4a75be2f58e8f13f4a1
2013-01-08 11:07:13 -08:00
James Zern
540790ca6b
gif2webp.c: add a note about prerequisites
...
Change-Id: I25a88f13b0c38c5968b5c4a3be0955e18e990723
2012-11-15 22:31:55 -08:00
Urvang Joshi
c40efca157
gif2webp build support with autoconf tools
...
Change-Id: I51a007e7931f05f2eb2ac062038309c2127df3fd
2012-11-15 11:04:12 -08:00
skal
b542611964
fix indentation
...
Change-Id: Ieb22b158d52b16f9782a7e747dd5edbf29099ec5
2012-11-15 09:34:34 +01:00
skal
68f282f79c
* handle offset in anim viewer 'vwebp'
...
* fix gif2webp to handle disposal method and odd offset correctly
+ remove -scale and -crop option from vwebp, since it'll be broken
with offsets and fragments. Needs a revisit.
+ remove a warning in gif2web
Change-Id: If04c6d085806e32540f2f15a37244c4407b719b3
2012-11-15 09:15:04 +01:00
Urvang Joshi
11b2721258
Write a GIF to WebP converter based on libgif.
...
Change-Id: Ic64bf5307996a788ec61caf59a99ab37b4b1ae96
2012-11-08 11:21:25 -08:00