/* slows down the decoding (and some browsers don't like it) */
/* slows down the decoding (and some browsers don't like it) */
/* update on the 'some browsers don't like it issue from above: this was probably due to missing 'Data Sub-block Terminator' (byte 19) in the app_header */
/* update on the 'some browsers don't like it issue from above:
* this was probably due to missing 'Data Sub-block Terminator'
* (byte 19) in the app_header */
#define GIF_ADD_APP_HEADER // required to enable looping of animated gif
#define GIF_ADD_APP_HEADER // required to enable looping of animated gif
typedefstruct{
typedefstruct{
...
@@ -65,8 +67,15 @@ typedef struct {
...
@@ -65,8 +67,15 @@ typedef struct {
/* we use the standard 216 color palette */
/* we use the standard 216 color palette */
/* this script was used to create the palette:
/* this script was used to create the palette:
* for r in 00 33 66 99 cc ff; do for g in 00 33 66 99 cc ff; do echo -n " "; for b in 00 33 66 99 cc ff; do