python - Making Gradient Images Quickly with C++ -
I am currently working with Python to create images of gradient, however, I am scared for my use That Python can be very slow I know that Python can be extended with C ++ with relative ease
So what are some quick ways to create gradients in C ++?
Manually writing bitmap is quite easy. For Windows bitmap, you need 54 byte headers and then an array of color values. ()
So, create a file, write header, supply the pixel array
.pgm / .ppm files are much easier because they have very easy headers.
Comments
Post a Comment