Allocate GPU buffers

Hey, so I’m Working with OpenGL to apply an algorithm to a raw input image… How can I allocate buffer for the GPU output i.e the processed image? Also, store the output into that buffer?