Re: A simple (?) question...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Torsten,

On Thu, Apr 10, 2008 at 6:50 PM, Torsten Neuer <tneuer@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux