Closed kipcole9 closed 1 year ago
Yes, looks like that. I was thinking of image with 0x0
, but looking at the libvips, it appears to be not possible
@kipcole9 released v0.18.0 with correct typespec
Thank you @akash-akya, that fixed all the dialyzer issues I was seeing.
As of Vix 0.17 the return types for
Image.width/1
andImage.height/1
have changed frompos_integer()
tonon_neg_integer()
. This manifests itself as a large number of dialyzer errors inImage
.In looking at the libvips docs for width I see:
Which leads me to believe that the change in spec for Vix 0.17 has introduced a bug and the correct type is indeed
pos_integer()
.