new save-image plugin to dump a straight c-source RGB or RGBA data array

Tue Jul  6 18:50:24 1999  Tim Janik  <timj@gtk.org>

        * plug-ins/common/csource.c: new save-image plugin to dump a
        straight c-source RGB or RGBA data array (most convenient
        to create libart ArtPixBuf structures from).

        * plug-ins/common/header.c (save_image): if we don't know the
        image type, complain and don't claim to have handled it.
This commit is contained in:
Tim Janik
1999-07-06 17:26:06 +00:00
committed by Tim Janik
parent 1058f41dab
commit d40186d8b1
4 changed files with 511 additions and 1 deletions

View File

@ -200,7 +200,10 @@ save_image (char *filename,
}
fprintf (fp, "};\n");
break;
} /* switch (drawable_type) */
default:
g_warning ("unhandled drawable type (%d)", drawable_type);
return FALSE;
} /* switch (drawable_type) */
fclose (fp);