79190790

Date: 2024-11-15 00:30:40
Score: 0.5
Natty:
Report link

You can use a library like https://imagemagick.org/script/magick++.php to complete the task:

#include <Magick++.h>

Magick::Color color(red, green, blue);
Magick::Geometry size(width, height, /*xOff=*/0, /*yOff=*/0);
Magick::Image image(size, color);
image.write( "image.jpg" );

See https://www.imagemagick.org/Magick++/Image++.html for some more examples.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Christopher Cabanne