[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-poppler
Subject:    Re: [poppler] about the data page returned by poppler
From:       Albert Astals Cid <aacid () kde ! org>
Date:       2010-02-20 15:26:55
Message-ID: 201002201526.56452.aacid () kde ! org
[Download RAW message or body]

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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic