-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
Description
It somehow "zooms" in the image. This is especially visible on the nearest-neighbor version of the test.
There's probably a bug in how we iterate on the pixels.
Implementation: https://github.com/image-js/image-js-typescript/blob/main/src/geometry/resize.ts#L55-L86
We need to fix it so these tests can be enabled: https://github.com/image-js/image-js-typescript/blob/8d81c2b4094c25522b9c40aec4b6469837123352/src/geometry/__tests__/resize.test.ts#L3-L21
Reference created by https://github.com/image-js/image-js-typescript/blob/8d81c2b4094c25522b9c40aec4b6469837123352/test/img/opencv/generate.py#L15-L19