The libpgf download area contains pre-compiled versions of the PGF console application. The PGF console application is able to encode PGF images from JPEG, PNG, BMP, etc. and to decode PGF images. You also can use the console applications for performance measurings.
The source code of libpgf and the console applications are available via the SVN repository.