Hi Torsten,
On Thu, Apr 10, 2008 at 6:50 PM, Torsten Neuer <
tneuer@...> wrote:
> Hi Sven,
>
>
> > 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.
>
> Yes, I discovered that myself, since the string hasher would have difficulties
> with handling the binary data of the drawable passed on to the plugin.
Oh.
I had assumed that the glib string hasher worked similarly to the
Python string hasher, meaning that binary data was perfectly okay.
My mistake.
_______________________________________________
Gimp-developer mailing list
Gimp-developer@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer