gographics / imagick

Go binding to ImageMagick's MagickWand C API
https://godoc.org/github.com/gographics/imagick/imagick
Other
1.75k stars 182 forks source link

Channel statistics unexpected type #314

Closed f01c33 closed 4 months ago

f01c33 commented 4 months ago

Hi, i'm having this issues using imagick.v3 on my arch linux with imagemagick 7.1.1.32-1:

# gopkg.in/gographics/imagick.v3/imagick
cgo: vendor/gopkg.in/gographics/imagick.v3/imagick/channel_statistics.go:16:6: unexpected: 16-byte float type - long double

Example code at https://github.com/f01c33/buddy

justinfx commented 4 months ago

Are you using the latest v3 release? This looks like something we addressed 4 months ago: https://github.com/gographics/imagick/issues/301

justinfx commented 4 months ago

Looks like you are not on the latest release: https://github.com/f01c33/buddy/commit/b6cdd9aee0b48a5ca42e804a96a5a9c49ca462ab#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R8

Make sure to use the latest release, and check issue history, before bug reports. Cheers!

f01c33 commented 4 months ago

thanks, that fixed it