Hello, I need to save data stored in memory into .bmp or (which would be the better variant) into .jpg file. Actually what I want to do is to save the OpenGL screen (probably using glReadPixels() function) into image. I've downloaded PasJPEG, but it doesn't seem to be working. When I try to compile example program for PasJPEG, I get: 'Error: Wrong number of parameters specified for call to "error_exit"'
Do you know any efficient way to save glReadPixels into .bmp or .jpeg file? It would be very helpful for me. I am looking forward for your answers. Thank you even for reading this post. :-) Jakub Marian -- View this message in context: http://www.nabble.com/Save-image-into-BMP-or-JPEG-using-Free-Pascal-%28Save-screenshot-of-OpenGL-scene%29-tp15530582p15530582.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal