Is there a crate that can read insanely large png files quickly with no data loss. (17mb files with 21600 x 10800)

289 views Asked by At

My rust app needs to have access to world heightmap data (topography) which I have downloaded from nasa's official website. Currently, with me using the Image crate https://lib.rs/crates/image, it takes roughly 1 minute for the entire app to load, which is completely unacceptable. Is there any rust crate that is specifically designed to load images that large? I do not want to compress the file aswell, as that might possible mess up the height data.

1

There are 1 answers

0
Jamzy01 On

I ran the application in release mode and everything works fine now.