We are creating thumbnails Bitmap using Page.RenderToBmp, but, to generate about 300 thumbs, it is taking a lot of time, even running in faster devices (+30 seconds)
Are there any way to improve it? We are using one thread to loop through m_doc.GetPageCount() and getting Page with m_doc.GetPage(int)
For each Page, we create the bitmap, erase it and fill it with RenderToBmp.
Even with no caching, no writing, just to create the object Bitmap and trowing it away.
We have tried to initiate more than one thread, but in that case, the second thread created blank bitmaps.
I have the same issue. I need to save bitmaps/thumbnails for whole pdf. approx. 60pages. But it takes around 30seconds to save one.
How do you generate bitmap for zoom, can I use the same method. Or can I access these bitmaps?
I want to keep them in cache directory. I didn't start to safe them yet because creating take too much time. So I need to find better (quicker) way how to create all thumbnails. For now I'd have to wait approx 30minutes to generate all thumbnails and display them in a view