[poppler] about the data page returned by poppler
Albert Astals Cid
aacid at kde.org
Sat Feb 20 07:26:55 PST 2010
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
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list