Reputation: 867
I want to make simple program that can accept jpg images and make optimal arrangement on a given format (A4, A3, A2 paper etc...) and output new image that contains optimally arranged images on an A4/A3/... format.
I saw that there are some libraries but are more suited for game development. I just need something that can read data from jpeg (width, height, resolution, color profile etc...) and can perform some basic operations on image.
Upvotes: 0
Views: 2269
Reputation: 2938
The easiest way is to use https://github.com/PistonDevelopers/rust-image, which was released quite recently.
The other way is to use https://github.com/crabtw/rust-bindgen to create bindings for your favourite C image manipulation library.
Upvotes: 2