searching in the freeimage help forums some people says maby is at older versions.
it is possible to update the freeimage version that of uses? couls this be the problem?
the freeimage library in of has two files, an .h (header) file and a .a file that appears to be binary. how do i get the .a file with the updated freeimage version?
I’m not sure that it’s possible to switch but you can always try. again, you might have much better luck with your questions on the freeImage forum.
what platform/compiler are you on?
if you are on windows / codeblocks see the MINGW readme in the freeImage download.
zach
ps: about the two problems mentioned elsewhere on a different thread –
upside down – this is because 0,0 is top left, you need to flip the FIBITMAP
broken / strip / angles - this is because freeimage data is **not** contiguous in memory and you are treating it as if it is. see ofImage for examples of how to make in contiguous.
Close and free a memory stream.
When the stream is managed by FreeImage, the memory file is destroyed.
Otherwise (wrapped buffer), its destruction is left to the application driving FreeImage.
You always need to call this function once youre done with a memory stream (whatever the way you opened the stream), or you will have a memory leak.