/** Alpha image case. */ bool make_ringed_alpha_image(TestPixels* result, int width, int height) { if (make_ringed_alpha_bitmap(result, width, height)) { bmp_to_image(result); return true; } return false; }
/** Color image case. */ bool make_ringed_color_image(GrContext* ctx, TestPixels* result, int width, int height) { if (make_ringed_color_bitmap(ctx, result, width, height)) { bmp_to_image(result); return true; } return false; }