Skip to content
This repository has been archived by the owner on Dec 6, 2020. It is now read-only.

Windows support #16

Open
clvrk opened this issue Dec 9, 2019 · 1 comment
Open

Windows support #16

clvrk opened this issue Dec 9, 2019 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@clvrk
Copy link
Member

clvrk commented Dec 9, 2019

With PR #15 Windows support is now possible in theory. Quoting the PR summary:

The problem is that Mapnik dropped Windows support a while ago and I"ve to find a library that is nearly as fast as Mapnik for stitching images.

If anyone has a good suggestion for a comparably fast module such as Mapnik that compiles on Linux, Windows, macOS x86 & x64 (and optimally ARM), I would be more than happy to investigate and implement it.

As a kick start, my benchmarks showed that jimp is way to slow for this use case and sharp is currently not nearly as fast as Mapnik for stitching images.

Thanks,
clarkx86 :-)

@clvrk clvrk added the help wanted Extra attention is needed label Dec 9, 2019
@clvrk
Copy link
Member Author

clvrk commented Dec 12, 2019

Small update: Rendering on Windows works now with the new bindings added in d503529, but it"s suuuper slow (60 cp/s instead of 300 cp/s on my system), due to the FFI, I guess... That means Linux renders would be also slow. An alternative would be fastcall, but it hasn"t been updated in quite some time and doesn"t compile at all on node.js 12. Also, I"m not too sure if it would even make too much of a difference in performance. Native bindings would be the way to go. Unfortunately sharp hasn"t implemented the proposed arrayjoin() function yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant