[fpc-pascal]How to work with images?
Rainer Hantsch
rainer at hantsch.co.at
Tue May 6 11:56:18 CEST 2003
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
--
.---------------------------------------------------------------------.
| \\|// Ing. Rainer HANTSCH - Hardware + Software |
| (o o) Forget Windoze! -- We focus on L-I-N-U-X... |
|--oOOo-(_)-oOOo------------------------------------------------------|
| Ing. Rainer HANTSCH | mail: office at hantsch.co.at |
| Khunngasse 21/20 | www: http://www.hantsch.co.at |
| A-1030 Vienna | tel: +43-1-79885380 fax: +43-1-798853818 |
| ** A u s t r i a ** | handy: +43-664-9194382 UID-Nr: ATU 11134002 |
'---------------------------------------------------------------------'
More information about the fpc-pascal
mailing list