Re: [fpc-pascal] Save image into BMP or JPEG using Free Pascal (Save screenshot of OpenGL scene)

2008-02-20 Thread Michalis Kamburelis
Marco van de Voort wrote: Jakub Marian wrote: The image format in the memory is clearly specified, as the main use of this unit is to cooperate with OpenGL (for loading images, textures, saving screenshots etc.). See TImage class comments, basically RawPixels is simply a pointer to an array o

Re: [fpc-pascal] Save image into BMP or JPEG using Free Pascal (Save screenshot of OpenGL scene)

2008-02-20 Thread Marco van de Voort
> Jakub Marian wrote: > > The image format in the memory is clearly specified, as the main use of > this unit is to cooperate with OpenGL (for loading images, textures, > saving screenshots etc.). See TImage class comments, basically RawPixels > is simply a pointer to an array of Width * Height

Re: [fpc-pascal] Save image into BMP or JPEG using Free Pascal (Save screenshot of OpenGL scene)

2008-02-19 Thread Michalis Kamburelis
Jakub Marian wrote: 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

Re: [fpc-pascal] Save image into BMP or JPEG using Free Pascal (Save screenshot of OpenGL scene)

2008-02-18 Thread Marco van de Voort
> On Sun, 17 Feb 2008, Jakub Marian wrote: > > > > 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,

Re: [fpc-pascal] Save image into BMP or JPEG using Free Pascal (Save screenshot of OpenGL scene)

2008-02-18 Thread Michael Van Canneyt
On Sun, 17 Feb 2008, Jakub Marian wrote: > > 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 > PasJP

[fpc-pascal] Save image into BMP or JPEG using Free Pascal (Save screenshot of OpenGL scene)

2008-02-17 Thread Jakub Marian
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 compi