Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all!
I'm developing an app, that will potentially work with large images. And the problem is, - i can't just load the entire piece in one thread, cause it will last for ages.

So basically i'm wondering, if anyone had faced the same problem hence has the experience and could possibly provide some guidance on this topic.

In my project i work with C++ and DirectX.
Thank you for your time and effort!
Best Regards!

What I have tried:

I had an idea about breaking source file streams into parts and loading them in a few threads.
Posted
Updated 2-Jul-16 6:16am

1 solution

Have a look at this: VipsWiki[^]
According to the author "It will automatically load, process and write an image in sections using many CPU cores" - so it hopefully should help you. (Libvips - VipsWiki[^])
I haven't tried it myself, but it's probably well worth a look.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900