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

Build error with the latest IM version #303

Closed dooman87 closed 7 months ago

dooman87 commented 7 months ago

Hi, I'm getting the following error when trying to build go application with IM 7.1.1-27:

43.25 # gopkg.in/gographics/imagick.v3/imagick
43.25 cgo: /go/pkg/mod/gopkg.in/gographics/imagick.v3@v3.4.2/imagick/channel_statistics.go:16:6: unexpected: 16-byte float type - long double

I have a feeling it could be related to these changes to IM, but I'm not sure what would be the way to fix this

justinfx commented 7 months ago

Duplicates #301 Fixed in v3.5.1

dooman87 commented 7 months ago

Sorry, for no trying a new version. This problem is fixed now. The interesting thing though behaviour seemed to got changed and on the latest version of IM (7.1.1-27) I'm getting this error when doing mw.ReadImageBlob:

EXCEPTION_ERROR: time limit exceeded' @ error/cache.c/GetImagePixelCache/1703`

That didn't happen before and I didn't change my code. I'm still investigating to make sure the problem is not on my side :)

dooman87 commented 7 months ago

Seems to be complete unrelated, so please ignore me :)

I opened a discussion thread in IM project: https://github.com/ImageMagick/ImageMagick/discussions/7091

justinfx commented 7 months ago

ImageMagick has been known to make sudden changes in patch revisions. So it isn't surprising. But I'm glad your original problem is fixed! Maybe post back when you find an answer to your new issue? Could be a new ImageMagick config file setting?

On Thu, Feb 8, 2024, 12:23 AM Dmitry N. Pokidov @.***> wrote:

Seems to be complete unrelated, so please ignore me :)

I opened a discussion thread in IM project: ImageMagick/ImageMagick#7091 https://github.com/ImageMagick/ImageMagick/discussions/7091

— Reply to this email directly, view it on GitHub https://github.com/gographics/imagick/issues/303#issuecomment-1931836561, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACE7RUAILBGFMOTC2YVBQDYSNPZVAVCNFSM6AAAAABCZ2I4O6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZRHAZTMNJWGE . You are receiving this because you modified the open/close state.Message ID: @.***>

dooman87 commented 7 months ago

It's all fixed now! Dirk pushed some changes and everything is back to normal.