[Gimp-developer] A simple (?) question...

Sven Neumann sven at gimp.org
Wed Apr 9 13:05:37 PDT 2008


Hi,

On Wed, 2008-04-09 at 09:27 +0930, David Gowers wrote:

> What you are talking about is a hash function. There is a string
> hasher in GLib that should do what you want.

The string hash function in GLib is not suitable for this job. Torsten
doesn't want to hash a string, he is asking for a checksum over image
data.

You can use GChecksum which was added recently to GLib or you can use
the MD5 implementation in libgimpmath.


Sven




More information about the Gimp-developer mailing list