Closed Amraneze closed 3 years ago
I would recommend reading a file into a buffer then passing that to imageflow. We don't expose a file path API (among other reasons) because character sets can differ and because it wouldn't speed anything up.
Letting the binding language handle File IO also allows for async support.
Thank you so much for working on bindings for java/scala. Let me know if you have any questions and I will try to help.
On Sat, Dec 12, 2020, 3:20 PM Amrane Ait Zeouay notifications@github.com wrote:
Hi @lilith https://github.com/lilith,
I just have a question if imageflow can also accept file path instead of a buffer ? And also we are working on implementing a binding to imageflow with Scala/Java (imageflow-scala)[ https://github.com/Dealermade/imageflow-scala]
Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow/issues/571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH3ZZ2KBS5TTEC2WCY3SUPUELANCNFSM4UYW7K4A .
Also, https://github.com/imazen/imageflow-dotnet is our set of reference bindings and is a good design to copy. The ImageJob API makes usage easy even if you need a complex graph of operations.
On Sat, Dec 12, 2020, 3:29 PM Lilith River lilith@imazen.io wrote:
I would recommend reading a file into a buffer then passing that to imageflow. We don't expose a file path API (among other reasons) because character sets can differ and because it wouldn't speed anything up.
Letting the binding language handle File IO also allows for async support.
Thank you so much for working on bindings for java/scala. Let me know if you have any questions and I will try to help.
On Sat, Dec 12, 2020, 3:20 PM Amrane Ait Zeouay notifications@github.com wrote:
Hi @lilith https://github.com/lilith,
I just have a question if imageflow can also accept file path instead of a buffer ? And also we are working on implementing a binding to imageflow with Scala/Java (imageflow-scala)[ https://github.com/Dealermade/imageflow-scala]
Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow/issues/571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH3ZZ2KBS5TTEC2WCY3SUPUELANCNFSM4UYW7K4A .
Thank you @lilith for your replies.
Hi @lilith,
I just have a question if imageflow can also accept file path instead of a buffer ? And also we are working on implementing a binding to imageflow with Scala/Java (imageflow-scala)[https://github.com/Dealermade/imageflow-scala]
Thanks!