Closed GoogleCodeExporter closed 8 years ago
There is no workaround to my knowledge.
The gnu runtime supports non-posix functions (e.g., fmemopen())
that munge a stream ptr (FILE) to redirect the bytes to/from memory,
rather than to a file. This doesn't exist on OSX either.
If you can find an equivalent function in the windows runtime and get it to
work, I'll be happy to include it.
Original comment by dan.bloo...@gmail.com
on 23 Jul 2010 at 5:01
Hi Dan,
thanks for your comments.
Given the fact that this function has to put the binary data in memory, isnt
there a simple way to create a memory buffer and write there giving the total
buffer size and address ?
Original comment by kpo...@gmail.com
on 25 Jul 2010 at 5:50
Dan, is there then a way to get the data of a variable holding an image ?
Imagine one knows the width, height, bpp and the address of the image in
memory. Is there a way to get the data there before freeing it ? Then one could
use other libs for the conversion to a specific image format. And if possible,
is the image representation a simple raw bitmap ?
I am asking this because having to save the image whenever one wants to get the
data from other libs/code is really painful and slows down performance of the
whole !
Thank you,
Original comment by kpo...@gmail.com
on 30 Aug 2010 at 3:26
Original issue reported on code.google.com by
kpo...@gmail.com
on 23 Jul 2010 at 4:33