mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
support gif res
This commit is contained in:
parent
6420ae405d
commit
fe8e31c93a
@ -49,6 +49,8 @@ int main(int argc, char** argv) {
|
||||
output_res_c_source(out_filename, ASSET_TYPE_IMAGE, ASSET_TYPE_IMAGE_PNG, input_buff, size);
|
||||
} else if (end_with(in_filename, ".jpg")) {
|
||||
output_res_c_source(out_filename, ASSET_TYPE_IMAGE, ASSET_TYPE_IMAGE_JPG, input_buff, size);
|
||||
} else if (end_with(in_filename, ".gif")) {
|
||||
output_res_c_source(out_filename, ASSET_TYPE_IMAGE, ASSET_TYPE_IMAGE_GIF, input_buff, size);
|
||||
} else {
|
||||
output_res_c_source(out_filename, ASSET_TYPE_DATA, 0, input_buff, size);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user