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:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user