Hello!
What I want to do all the time, but I never found out HOW to do that, is working with pictures on a LINUX server.
Note: I do not want to display them (make some kind of new image viewer)! What I want to do is processing them in a textmode or daemon application and find out differences between two images, and some similar stuff.
This requires to read in pictures and decode/uncompress them hereby. Then the picture should be in memory in a usable data format which I can handle easily with FPC. Finally, if required, I want to store an image back into a file.
For most of that, I guess, there will be ready made and existing libraries like 'libjpeg', so (I think) there will be no need to re-invent all this encoding/decoding stuff.
When I visited a friend (he plays around with Windows-FPC), I saw his application, written in FPC and doing most of that - but it uses Windows-DLL's, so this is of no help to me, but it shows me that I am not so wrong.
Is somebody out here who can leave me a sample program which shows me how to use a shared library for reading/writing i.e. a JPEG file into/from memory? Thanks in advance!
mfg
Ing. Rainer Hantsch
