Writing texture from data with FreeImage

  assimp, c++, freeimage, textures

Simple problem, but FreeImage documentation is totally a mess and I can’t find what I’m looking for.
I read a texture with Assimp from fbx, so the texture is embedded and in uncompressed format.

What I need to do is writing the texture in TGA format with FreeImage, having a data structure that holds information (ARGB format) for each texel.
But I really can’t understand how to handle this.
Thank you in advance.

Source: Windows Questions C++