A Dissabte, 20 de febrer de 2010, Vincent Torri va escriure:
> Hey,
> 
> I use poppler to display the pages of PDF files usng the getDataPtr()
> method. After that, i do a memcpy to fill my own memory buffer.
> 
> I would like to know if it is possible that, instead of doing the above
> method, passing my own memory buffer to poppler so that i can get rid of
> the memcpy ?

You can't at the moment. What would not be difficult to do is adding a 
function to SplashBitmap (i understand you speak about it) that clears the 
data ptr so you could "adopt" it.

Can you work on a patch that does that?

Albert

> 
> thank you
> 
> Vincent Torri
> _______________________________________________
> poppler mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/poppler
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to