views:

73

answers:

1

I have an HBITMAP and i would like to convert it to png format(in memory i have malloc'd)as fast as possible, so my question is should i go with GDI+ or libpng? I've tried using GDI+, but it doesn't seem as fast as i would like it to be. I've also tried FreeImage and it was way too slow.

P.S. - I'm using C++

Thanks for reading

+1  A: 

Why don't you try out libpng and see for yourself if it is faster than GDI+ in your context?

Peter G.