PVRTexToolCLI.exe -l option using PVRTC library

How can I do the equivalent of the -l PVRTexToolCLI.exe command line parameter using the PVRTC library?
In fact if someone has code samples that does the equivalent of the following command line it would be fantastic
PVRTexToolCLI.exe -i myasset.png -o myasset-pvrtc24bleed.pvr -f PVRTC2_4 -q pvrtcbest -l

You’ll first need to use another library to decompress the .png. Set up your pvrtexture::CPVRTextureHeader object, and then pass that and the raw bitmap data pointer to a pvrtexture::CPVRTexture object. Then you can call pvrtexture::Bleed() with the texture as the parameter.

The documentation in the SDK folder \PowerVR_Tools\PVRTexTool\Documentation should have more detail about using the PVRTexTool library.

All right so -l is indeed that Bleed function. It was not quite clear from the docs/comments on both flag and function.
Thanks a lot Paul.